summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2018-02-25 15:46:20 +0000
committerkerenj <keren.joseph@amdocs.com>2018-02-25 15:46:20 +0000
commit1d423b57ffb8e98cd74c3d143457a9cc90808213 (patch)
treead9189019636802189218cdb37703d160588ec3a /kubernetes
parentc3f901acd912026f602ebdcb66c83490f1a4cf05 (diff)
sdnc persistence folder parametrization
Issue-ID: OOM-145 Change-Id: I40ace4ebb463ca83e1a11badc2e37913c40e8102 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/sdnc/templates/nfs-provisoner-deployment.yaml2
-rw-r--r--kubernetes/sdnc/values.yaml1
2 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/nfs-provisoner-deployment.yaml b/kubernetes/sdnc/templates/nfs-provisoner-deployment.yaml
index a283d0f626..9e78bf3838 100644
--- a/kubernetes/sdnc/templates/nfs-provisoner-deployment.yaml
+++ b/kubernetes/sdnc/templates/nfs-provisoner-deployment.yaml
@@ -51,5 +51,5 @@ spec:
volumes:
- name: export-volume
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdnc/data
#{{ end }}
diff --git a/kubernetes/sdnc/values.yaml b/kubernetes/sdnc/values.yaml
index cdeb66a2f1..523db5a8f4 100644
--- a/kubernetes/sdnc/values.yaml
+++ b/kubernetes/sdnc/values.yaml
@@ -1,6 +1,7 @@
nsPrefix: onap
pullPolicy: IfNotPresent
nodePortPrefix: 302
+dataRootDir: /dockerdata-nfs
image:
readiness: oomk8s/readiness-check:1.1.0
mysql: mysql:5.7