Fix a bug in storage forceName setting (#574)
* Fix a bug in storage forceName setting * whoops
This commit is contained in:
parent
be0192181a
commit
4e3353a48f
|
@ -18,4 +18,4 @@ maintainers:
|
|||
name: common
|
||||
sources:
|
||||
type: library
|
||||
version: 6.3.5
|
||||
version: 6.3.6
|
||||
|
|
|
@ -19,6 +19,9 @@ Volumes included by the controller.
|
|||
{{- else -}}
|
||||
{{- $pvcName = (printf "%s-%s" (include "common.names.fullname" $) $index) -}}
|
||||
{{- end -}}
|
||||
{{- if $persistence.forceName -}}
|
||||
{{- $pvcName = $persistence.forceName -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ $pvcName }}
|
||||
|
|
Loading…
Reference in New Issue