Add pathPattern support to Helmchart
This commit is contained in:
parent
0a66252619
commit
f716044142
|
|
@ -17,6 +17,9 @@ allowVolumeExpansion: {{ .Values.storageClass.allowVolumeExpansion }}
|
||||||
reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }}
|
reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }}
|
||||||
parameters:
|
parameters:
|
||||||
archiveOnDelete: "{{ .Values.storageClass.archiveOnDelete }}"
|
archiveOnDelete: "{{ .Values.storageClass.archiveOnDelete }}"
|
||||||
|
{{- if .Values.storageClass.pathPattern }}
|
||||||
|
pathPattern: "{{ .Values.storageClass.pathPattern }}"
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.nfs.mountOptions }}
|
{{- if .Values.nfs.mountOptions }}
|
||||||
mountOptions:
|
mountOptions:
|
||||||
{{- range .Values.nfs.mountOptions }}
|
{{- range .Values.nfs.mountOptions }}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,10 @@ storageClass:
|
||||||
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
|
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
|
||||||
archiveOnDelete: true
|
archiveOnDelete: true
|
||||||
|
|
||||||
|
# Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace.
|
||||||
|
# Ignored if value not set.
|
||||||
|
pathPattern:
|
||||||
|
|
||||||
# Set access mode - ReadWriteOnce, ReadOnlyMany or ReadWriteMany
|
# Set access mode - ReadWriteOnce, ReadOnlyMany or ReadWriteMany
|
||||||
accessModes: ReadWriteOnce
|
accessModes: ReadWriteOnce
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue