Use helm for install
parent
a3414c37dd
commit
629fbef620
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: webdav-csi-driver
|
||||||
|
description: A Helm chart for deploying CSI WebDAV Storage Driver
|
||||||
|
version: 0.0.1
|
@ -0,0 +1,13 @@
|
|||||||
|
{{- if .Values.defaultStorageClass }}
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.defaultStorageClass.name }}
|
||||||
|
provisioner: webdav.csi.io
|
||||||
|
parameters:
|
||||||
|
{{- toYaml .Values.defaultStorageClass.parameters | nindent 2 }}
|
||||||
|
reclaimPolicy: {{ .Values.defaultStorageClass.reclaimPolicy }}
|
||||||
|
volumeBindingMode: {{ .Values.defaultStorageClass.volumeBindingMode }}
|
||||||
|
mountOptions:
|
||||||
|
{{- toYaml .Values.defaultStorageClass.mountOptions | nindent 2 }}
|
||||||
|
{{- end }}
|
@ -0,0 +1,50 @@
|
|||||||
|
controller:
|
||||||
|
replicas: 1
|
||||||
|
image:
|
||||||
|
name: ghcr.io/ruakij/webdav-csi-driver
|
||||||
|
tag: dev
|
||||||
|
pullPolicy: Always
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 200Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
|
|
||||||
|
node:
|
||||||
|
image:
|
||||||
|
name: ghcr.io/ruakij/webdav-csi-driver
|
||||||
|
tag: dev
|
||||||
|
pullPolicy: Always
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 300Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
image:
|
||||||
|
name: registry.k8s.io/sig-storage/livenessprobe
|
||||||
|
tag: v2.11.0
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
csiProvisioner:
|
||||||
|
image:
|
||||||
|
name: registry.k8s.io/sig-storage/csi-provisioner
|
||||||
|
tag: v3.6.2
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
# Configuration for the default storage class
|
||||||
|
defaultStorageClass: {}
|
||||||
|
# name: "webdav"
|
||||||
|
# parameters:
|
||||||
|
# # 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"
|
||||||
|
# csi.storage.k8s.io/node-publish-secret-namespace: "default"
|
||||||
|
# reclaimPolicy: "Delete"
|
||||||
|
# volumeBindingMode: Immediate
|
||||||
|
# mountOptions: {}
|
Loading…
Reference in New Issue