fix statefullset volumemount dicts not being processed
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user