summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-pv-pvc.yaml
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2018-02-25 08:12:21 +0000
committerKaren Joseph <keren.joseph@amdocs.com>2018-02-25 09:39:53 +0000
commit2dabc18ef15b60e67ad0301cf1c782e73b168205 (patch)
treede81b2a1e7da3352957d7670eee4bb20711dfe2f /kubernetes/portal/templates/portal-pv-pvc.yaml
parentc3f901acd912026f602ebdcb66c83490f1a4cf05 (diff)
portal persistence folder parametrization
Issue-ID: OOM-145 Change-Id: Ie41334345d1a3799d1bb0add8a2a97dc6918bd03 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/portal/templates/portal-pv-pvc.yaml')
-rw-r--r--kubernetes/portal/templates/portal-pv-pvc.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/portal/templates/portal-pv-pvc.yaml b/kubernetes/portal/templates/portal-pv-pvc.yaml
index b4d2baa334..0fabc4cc26 100644
--- a/kubernetes/portal/templates/portal-pv-pvc.yaml
+++ b/kubernetes/portal/templates/portal-pv-pvc.yaml
@@ -13,7 +13,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/mariadb/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/portal/mariadb/data
---
kind: PersistentVolumeClaim
apiVersion: v1
@@ -29,4 +29,4 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-portal-db"
-#{{ end }} \ No newline at end of file
+#{{ end }}