An open API service indexing awesome lists of open source software.

https://github.com/sys-liqian/csi-driver-webdav

This driver allows Kubernetes to access davfs on Linux node.
https://github.com/sys-liqian/csi-driver-webdav

csi k8s kubernetes webdav

Last synced: 5 months ago
JSON representation

This driver allows Kubernetes to access davfs on Linux node.

Awesome Lists containing this project

README

          

# Webdav CSI driver for Kubernetes

### Overview

This is a repository for webdav csi driver, csi plugin name: `webdav.csi.io`. This driver supports dynamic provisioning of Persistent Volumes via Persistent Volume Claims by creating a new sub directory under webdav server.

### Quick start with kind

#### Build plugin image
```bash
make docker-build
```

#### Start kind cluster
```bash
kind create cluster --image kindest/node:v1.27.3
```

### Load plugin image to kind cluster
```bash
kind load docker-image registry.k8s.io/sig-storage/csi-provisioner:v3.6.2
kind load docker-image registry.k8s.io/sig-storage/livenessprobe:v2.11.0
kind load docker-image registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1
kind load docker-image localhost:5000/webdavplugin:v0.0.1
```

### Deploy CSI
```bash
kubectl apply -f deploy/
```

### Tests
```bash
kubectl apply -f examples/csi-webdav-secret.yaml
kubectl apply -f examples/csi-webdav-storageclass.yaml
kubectl apply -f examples/csi-webdav-dynamic-pvc.yaml
kubectl apply -f examples/csi-webdav-pod.yaml
```