fix statefullset volumemount dicts not being processed
This commit is contained in:
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources:
|
sources:
|
||||||
type: library
|
type: library
|
||||||
version: 6.6.0
|
version: 6.6.1
|
||||||
|
|||||||
@@ -24,9 +24,13 @@
|
|||||||
|
|
||||||
{{- if eq .Values.controller.type "statefulset" }}
|
{{- if eq .Values.controller.type "statefulset" }}
|
||||||
{{- range $index, $vct := .Values.volumeClaimTemplates }}
|
{{- range $index, $vct := .Values.volumeClaimTemplates }}
|
||||||
|
{{- $vctname := $index }}
|
||||||
|
{{- if $vct.name }}
|
||||||
|
{{- $vctname := $vct.name }}
|
||||||
|
{{- end }}
|
||||||
{{- if not $vct.noMount }}
|
{{- if not $vct.noMount }}
|
||||||
- mountPath: {{ $vct.mountPath }}
|
- mountPath: {{ $vct.mountPath }}
|
||||||
name: {{ $vct.name }}
|
name: {{ $vctname }}
|
||||||
{{- if $vct.subPath }}
|
{{- if $vct.subPath }}
|
||||||
subPath: {{ $vct.subPath }}
|
subPath: {{ $vct.subPath }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user