From 35464a0008f2139f3d9e1b760f9d43eb821d2ad7 Mon Sep 17 00:00:00 2001 From: kerenj Date: Sun, 25 Feb 2018 09:19:25 +0000 Subject: clamp persistence folder parametrization Issue-ID: OOM-145 Change-Id: I05f23d4557b0df2a0c6c70f072cabdda86722ac0 Signed-off-by: kerenj --- kubernetes/clamp/templates/clamp-pv-pvc.yaml | 4 ++-- kubernetes/clamp/values.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'kubernetes') 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 -- cgit 1.2.3-korg