Skip to content

Commit be19eca

Browse files
authored
fix: do not create pvc manually when useStatefulSet
Signed-off-by: fengxsong <fengxsong@outlook.com>
1 parent 357cc3e commit be19eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/grafana/templates/pvc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) (eq .Values.persistence.type "pvc")}}
1+
{{- if and (not .Values.useStatefulSet) .Values.persistence.enabled (not .Values.persistence.existingClaim) (eq .Values.persistence.type "pvc")}}
22
apiVersion: v1
33
kind: PersistentVolumeClaim
44
metadata:

0 commit comments

Comments
 (0)