chore: ⚡ update dockerfile
update dockerfile
This commit is contained in:
parent
ff95639565
commit
e42800379a
@ -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"]
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user