summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-pv-pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/policy-pv-pvc.yaml')
-rw-r--r--kubernetes/policy/templates/policy-pv-pvc.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/policy-pv-pvc.yaml b/kubernetes/policy/templates/policy-pv-pvc.yaml
index 71cf3d8a48..5dc0c61c43 100644
--- a/kubernetes/policy/templates/policy-pv-pvc.yaml
+++ b/kubernetes/policy/templates/policy-pv-pvc.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disablePolicyMariadb }}
apiVersion: v1
kind: PersistentVolume
metadata:
@@ -28,3 +29,4 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-policy-db"
+#{{ end }} \ No newline at end of file