appc persistence folder parametrization
Issue-ID: OOM-145
Change-Id: I19878c5f878dde1ae167e827629bf91c0cae35af
Signed-off-by: kerenj <keren.joseph@amdocs.com>
diff --git a/kubernetes/appc/templates/appc-pv-pvc.yaml b/kubernetes/appc/templates/appc-pv-pvc.yaml
index 1702ba8..bb2716c 100644
--- a/kubernetes/appc/templates/appc-pv-pvc.yaml
+++ b/kubernetes/appc/templates/appc-pv-pvc.yaml
@@ -13,7 +13,7 @@
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/appc/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/appc/data
---
kind: PersistentVolumeClaim
apiVersion: v1
@@ -29,4 +29,4 @@
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-appc-db"
-#{{ end }}
\ No newline at end of file
+#{{ end }}