CSI driver that provisions Kubernetes PersistentVolumes on top of IPFS.
- Install snapshot CRDs and snapshot-controller (required for snapshot restore flows).
- Deploy IPFS backend.
- Deploy CSI driver chart.
Example:
helm upgrade --install ipfs-cluster charts/ipfs-cluster -n ipfs --create-namespace
helm upgrade --install csi-driver-ipfs charts/csi-driver-ipfs -n csi-ipfs --create-namespacecmd/csi-driver-ipfs: driver entrypoint and server bootstrap.pkg/driver: CSI Controller/Node/Identity implementations.pkg/ipfs: Kubo API client used by the driver.charts/csi-driver-ipfs: Helm chart for the CSI driver.charts/ipfs-cluster: Helm chart for single-cluster IPFS deployment used by local/dev scenarios.test/e2e: end-to-end suite (Ginkgo + KUTTL).docs: Docusaurus documentation site source.
make build/golang
make test/unitmake -C charts lint/all
make -C charts test/allmake -C test/e2e env/up
make -C test/e2e test/e2e
make -C test/e2e env/downLocal docs preview:
make -C docs dev/startPublished docs are expected on GitHub Pages, and packaged charts/index on the same domain under /charts.
When GitHub Pages publication is enabled for this repository:
- Docs root:
https://ptrvsrg.github.io/csi-driver-ipfs/ - Helm index:
https://ptrvsrg.github.io/csi-driver-ipfs/charts/index.yaml
Use with Helm:
helm repo add csi-driver-ipfs https://ptrvsrg.github.io/csi-driver-ipfs/charts
helm repo update