fix issue where filer PVC created even if using existingClaim

This commit is contained in:
Max Roby 2023-11-19 15:42:40 +01:00 committed by Chris Lu
parent 8ba2bffdba
commit 4278e9879f

View file

@ -314,7 +314,7 @@ spec:
nodeSelector: nodeSelector:
{{ tpl .Values.filer.nodeSelector . | indent 8 | trim }} {{ tpl .Values.filer.nodeSelector . | indent 8 | trim }}
{{- end }} {{- end }}
{{- if .Values.filer.enablePVC }} {{- if and (.Values.filer.enablePVC) (eq .Values.filer.data.type "persistentVolumeClaim") }}
# DEPRECATION: Deprecate in favor of filer.data section below # DEPRECATION: Deprecate in favor of filer.data section below
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata: