chore: update dockerfile

update dockerfile
dev
sys-liqian 8 months ago
parent ff95639565
commit e42800379a

@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
FROM centos:centos7.9.2009 FROM debian:bullseye
ARG binary=./bin/webdavplugin ARG binary=./bin/webdavplugin
COPY ${binary} /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"] ENTRYPOINT ["/webdavplugin"]

@ -5,7 +5,8 @@ metadata:
name: webdav-sc name: webdav-sc
provisioner: webdav.csi.io provisioner: webdav.csi.io
parameters: 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-name: "webdav-secrect"
csi.storage.k8s.io/provisioner-secret-namespace: "default" csi.storage.k8s.io/provisioner-secret-namespace: "default"
csi.storage.k8s.io/node-publish-secret-name: "webdav-secrect" csi.storage.k8s.io/node-publish-secret-name: "webdav-secrect"

Loading…
Cancel
Save