diff --git a/Dockerfile b/Dockerfile index f4563d8..851d651 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM centos:centos7.9.2009 +FROM debian:bullseye ARG binary=./bin/webdavplugin COPY ${binary} /webdavplugin -RUN yum install epel-release -y && yum update -y && yum install davfs2 -y +RUN apt update && apt install -y davfs2 ENTRYPOINT ["/webdavplugin"] \ No newline at end of file diff --git a/examples/csi-webdav-storageclass.yaml b/examples/csi-webdav-storageclass.yaml index 9ad0955..dc2bf08 100644 --- a/examples/csi-webdav-storageclass.yaml +++ b/examples/csi-webdav-storageclass.yaml @@ -5,7 +5,8 @@ metadata: name: webdav-sc provisioner: webdav.csi.io parameters: - share: http://172.25.16.2:5244/dav/data + # alist folder webdav address + share: http://ip:port/dav/media csi.storage.k8s.io/provisioner-secret-name: "webdav-secrect" csi.storage.k8s.io/provisioner-secret-namespace: "default" csi.storage.k8s.io/node-publish-secret-name: "webdav-secrect"