aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2018-02-25 15:30:31 +0000
committerkerenj <keren.joseph@amdocs.com>2018-02-25 15:30:31 +0000
commit98314e3d28f85b6366372d1a165bec9ffc8ebddc (patch)
tree89b9e1a737b3dda0672133cee09f1b29202ece72 /kubernetes
parentc3f901acd912026f602ebdcb66c83490f1a4cf05 (diff)
mso persistence folder parametrization
Issue-ID: OOM-145 Change-Id: I4fe9f2f87d4b5a635b32de2ac5a3c6e2b7e68e0f Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/mso/templates/mso-pv-pvc.yaml4
-rw-r--r--kubernetes/mso/values.yaml1
2 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/mso/templates/mso-pv-pvc.yaml b/kubernetes/mso/templates/mso-pv-pvc.yaml
index 07b5a03f61..af42c013bc 100644
--- a/kubernetes/mso/templates/mso-pv-pvc.yaml
+++ b/kubernetes/mso/templates/mso-pv-pvc.yaml
@@ -13,7 +13,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/mso/mariadb/data
---
kind: PersistentVolumeClaim
apiVersion: v1
@@ -29,4 +29,4 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-mso-db"
-#{{ end }} \ No newline at end of file
+#{{ end }}
diff --git a/kubernetes/mso/values.yaml b/kubernetes/mso/values.yaml
index b45f8109fc..986d0575e2 100644
--- a/kubernetes/mso/values.yaml
+++ b/kubernetes/mso/values.yaml
@@ -9,6 +9,7 @@ openStackServiceTenantName: "service"
openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
msoReplicas: 1
dbReplicas: 1
+dataRootDir: /dockerdata-nfs
image:
readiness: oomk8s/readiness-check:1.1.0
mso: nexus3.onap.org:10001/openecomp/mso:v1.1.1