Commit f7160441 by ariksidney

Add pathPattern support to Helmchart

parent 0a662526
...@@ -17,6 +17,9 @@ allowVolumeExpansion: {{ .Values.storageClass.allowVolumeExpansion }} ...@@ -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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment