Browse Source
fix: replace volume.pvc_exists with master.pvc_exists (#4762)
pull/4766/head
Junhao Zou
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
k8s/charts/seaweedfs/templates/master-statefulset.yaml
|
|
@ -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"}} |
|
|
|