summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDusan Rozman <dusan.rozman@amdocs.com>2017-10-02 09:55:04 -0400
committerDusan Rozman <dusan.rozman@amdocs.com>2017-10-02 10:02:29 -0400
commitd29156116c93e33ecbaa9f9ea867b6e9c102d989 (patch)
treed2046e49e4ef0ecaf607f9bd2809416e537e21b1
parent906b67060c1f062816b9baa91d5c9845dad41dab (diff)
Added missing mount to aaf deployment yaml
Created mount /data2/ needed for aaf Change-Id: I050579e42afce9dc29c4c7a3cfdfb05ddb4d4217 Issue-ID: OOM-331 Signed-off-by: Dusan Rozman <dusan.rozman@amdocs.com>
-rw-r--r--templates/aaf-cs-deployment.yaml4
-rw-r--r--templates/aaf-deployment.yaml7
2 files changed, 9 insertions, 2 deletions
diff --git a/templates/aaf-cs-deployment.yaml b/templates/aaf-cs-deployment.yaml
index f240150..23968f9 100644
--- a/templates/aaf-cs-deployment.yaml
+++ b/templates/aaf-cs-deployment.yaml
@@ -22,14 +22,14 @@ spec:
name: "aaf-cs"
volumeMounts:
- mountPath: /data
- name: aaf-data
+ name: aaf-cs-data
readinessProbe:
tcpSocket:
port: 7000
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- - name: aaf-data
+ - name: aaf-cs-data
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data
imagePullSecrets:
diff --git a/templates/aaf-deployment.yaml b/templates/aaf-deployment.yaml
index 20e21c4..5950b92 100644
--- a/templates/aaf-deployment.yaml
+++ b/templates/aaf-deployment.yaml
@@ -47,11 +47,18 @@ spec:
value: cassandra_container
image: {{ .Values.image.aafImage }}:{{ .Values.image.aafVersion }}
imagePullPolicy: {{ .Values.pullPolicy }}
+ volumeMounts:
+ - mountPath: /data
+ name: aaf-data
name: aaf
readinessProbe:
tcpSocket:
port: 8101
initialDelaySeconds: 5
periodSeconds: 10
+ volumes:
+ - name: aaf-data
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data2
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key