summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-02-27 13:11:13 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-27 13:11:13 +0000
commit36855c17b0cc3792d8f3fb8dfd35b7dc840193a0 (patch)
treea92df630773347f6f690e1167dfd15a3ea5f7c67
parent91032d3edd258d3e6ff71a80432174ae1eeec843 (diff)
parent35464a0008f2139f3d9e1b760f9d43eb821d2ad7 (diff)
Merge "clamp persistence folder parametrization"
-rw-r--r--kubernetes/clamp/templates/clamp-pv-pvc.yaml4
-rw-r--r--kubernetes/clamp/values.yaml1
2 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/clamp/templates/clamp-pv-pvc.yaml b/kubernetes/clamp/templates/clamp-pv-pvc.yaml
index 0d36141b6c..f15ff33ae9 100644
--- a/kubernetes/clamp/templates/clamp-pv-pvc.yaml
+++ b/kubernetes/clamp/templates/clamp-pv-pvc.yaml
@@ -13,7 +13,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/clamp/mariadb/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/clamp/mariadb/data
---
kind: PersistentVolumeClaim
apiVersion: v1
@@ -29,4 +29,4 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-clamp-db"
-#{{ end }} \ No newline at end of file
+#{{ end }}
diff --git a/kubernetes/clamp/values.yaml b/kubernetes/clamp/values.yaml
index 077d43b37d..fd75dc4f1a 100644
--- a/kubernetes/clamp/values.yaml
+++ b/kubernetes/clamp/values.yaml
@@ -2,6 +2,7 @@ nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
mysqlPassword: strong_pitchou
+dataRootDir: /dockerdata-nfs
image:
readiness: oomk8s/readiness-check:1.1.0
clampImage: nexus3.onap.org:10001/onap/clamp