summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-02-27 13:11:33 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-27 13:11:33 +0000
commit6a637e070e5783d00cdbead0278cd00791ad26cd (patch)
treeb6487e0dd1ac3775fab28ba6cc2cc6aa342e5982
parentdb7502c5fb72c5876457a0fe3c2abf45ceeee5f8 (diff)
parent9a69b5ff6a23a1fe5a36332d79bebbfc1b67ea41 (diff)
Merge "appc persistence folder parametrization"
-rw-r--r--kubernetes/appc/templates/appc-pv-pvc.yaml4
-rw-r--r--kubernetes/appc/values.yaml1
2 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/appc/templates/appc-pv-pvc.yaml b/kubernetes/appc/templates/appc-pv-pvc.yaml
index 1702ba8ecb..bb2716cddb 100644
--- a/kubernetes/appc/templates/appc-pv-pvc.yaml
+++ b/kubernetes/appc/templates/appc-pv-pvc.yaml
@@ -13,7 +13,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/appc/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/appc/data
---
kind: PersistentVolumeClaim
apiVersion: v1
@@ -29,4 +29,4 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-appc-db"
-#{{ end }} \ No newline at end of file
+#{{ end }}
diff --git a/kubernetes/appc/values.yaml b/kubernetes/appc/values.yaml
index 9106e6bc7b..1a0cc51b71 100644
--- a/kubernetes/appc/values.yaml
+++ b/kubernetes/appc/values.yaml
@@ -4,6 +4,7 @@ nodePortPrefix: 302
appcReplicas: 1
dbReplicas: 1
dgbuilderReplicas: 1
+dataRootDir: /dockerdata-nfs
image:
readiness: oomk8s/readiness-check:1.1.0
appc: nexus3.onap.org:10001/openecomp/appc-image:v1.2.0