From e42800379a68b6d98096a799be01f06299ce9823 Mon Sep 17 00:00:00 2001 From: sys-liqian Date: Sun, 28 Apr 2024 06:09:02 -0400 Subject: [PATCH] chore: :zap: update dockerfile update dockerfile --- Dockerfile | 4 ++-- examples/csi-webdav-storageclass.yaml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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"