summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>2018-02-27 13:11:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-27 13:11:17 +0000
commit6b94010f3a56b7244b530f08383027f7b759f80b (patch)
tree362f6faf40728f95bb2bc700258fab32aa8459c6 /kubernetes
parent36855c17b0cc3792d8f3fb8dfd35b7dc840193a0 (diff)
parent98314e3d28f85b6366372d1a165bec9ffc8ebddc (diff)
Merge "mso persistence folder parametrization"
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