Browse Source

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

pull/4766/head
Junhao Zou 1 year ago
committed by GitHub
parent
commit
2af4cab3d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      k8s/charts/seaweedfs/templates/master-statefulset.yaml

2
k8s/charts/seaweedfs/templates/master-statefulset.yaml

@ -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…
Cancel
Save