fix statefullset volumemount dicts not being processed

This commit is contained in:
kjeld Schouten-Lebbing
2021-07-06 14:03:31 +02:00
parent 13f5447e5a
commit b9c22db29e
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ maintainers:
name: common
sources:
type: library
version: 6.6.0
version: 6.6.1
@@ -24,9 +24,13 @@
{{- if eq .Values.controller.type "statefulset" }}
{{- range $index, $vct := .Values.volumeClaimTemplates }}
{{- $vctname := $index }}
{{- if $vct.name }}
{{- $vctname := $vct.name }}
{{- end }}
{{- if not $vct.noMount }}
- mountPath: {{ $vct.mountPath }}
name: {{ $vct.name }}
name: {{ $vctname }}
{{- if $vct.subPath }}
subPath: {{ $vct.subPath }}
{{- end }}