mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix: replace volume.pvc_exists with master.pvc_exists (#4762)
This commit is contained in:
parent
6792db21dc
commit
2af4cab3d0
|
@ -236,7 +236,7 @@ spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ tpl .Values.master.nodeSelector . | indent 8 | trim }}
|
{{ tpl .Values.master.nodeSelector . | indent 8 | trim }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $pvc_exists := include "volume.pvc_exists" . -}}
|
{{- $pvc_exists := include "master.pvc_exists" . -}}
|
||||||
{{- if $pvc_exists }}
|
{{- if $pvc_exists }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
{{- if eq .Values.master.data.type "persistentVolumeClaim"}}
|
{{- if eq .Values.master.data.type "persistentVolumeClaim"}}
|
||||||
|
|
Loading…
Reference in a new issue