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