fix: replace volume.pvc_exists with master.pvc_exists (#4762)

This commit is contained in:
Junhao Zou 2023-08-17 15:57:07 +08:00 committed by GitHub
parent 6792db21dc
commit 2af4cab3d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ spec:
nodeSelector:
{{ tpl .Values.master.nodeSelector . | indent 8 | trim }}
{{- end }}
{{- $pvc_exists := include "volume.pvc_exists" . -}}
{{- $pvc_exists := include "master.pvc_exists" . -}}
{{- if $pvc_exists }}
volumeClaimTemplates:
{{- if eq .Values.master.data.type "persistentVolumeClaim"}}