mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 18:33:38 +08:00
fix: replace volume.pvc_exists with master.pvc_exists (#4762)
This commit is contained in:
@@ -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"}}
|
||||||
|
Reference in New Issue
Block a user