diff options
author | kerenj <keren.joseph@amdocs.com> | 2018-02-25 09:19:25 +0000 |
---|---|---|
committer | kerenj <keren.joseph@amdocs.com> | 2018-02-25 15:38:37 +0000 |
commit | 35464a0008f2139f3d9e1b760f9d43eb821d2ad7 (patch) | |
tree | 26cf10f43da93f13139cb65bcde4384467c985ae /kubernetes | |
parent | c3f901acd912026f602ebdcb66c83490f1a4cf05 (diff) |
clamp persistence folder parametrization
Issue-ID: OOM-145
Change-Id: I05f23d4557b0df2a0c6c70f072cabdda86722ac0
Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/clamp/templates/clamp-pv-pvc.yaml | 4 | ||||
-rw-r--r-- | kubernetes/clamp/values.yaml | 1 |
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 |