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
commite755f640ec263d81f30a509055714d7b76b329a3 (patch)
tree3fdfd05253eea53bd4a15514bc20666bea1bdf3a
parentb9644b17f8545dedd3ede40f778b33f9b4ecf480 (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--kubernetes/aaf/templates/aaf-cs-deployment.yaml4
-rw-r--r--kubernetes/aaf/templates/aaf-deployment.yaml7
-rw-r--r--kubernetes/config/docker/init/src/config/aaf/data2/identities.dat9
3 files changed, 18 insertions, 2 deletions
diff --git a/kubernetes/aaf/templates/aaf-cs-deployment.yaml b/kubernetes/aaf/templates/aaf-cs-deployment.yaml
index f240150f96..23968f9313 100644
--- a/kubernetes/aaf/templates/aaf-cs-deployment.yaml
+++ b/kubernetes/aaf/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/kubernetes/aaf/templates/aaf-deployment.yaml b/kubernetes/aaf/templates/aaf-deployment.yaml
index 20e21c4ee8..5950b92c00 100644
--- a/kubernetes/aaf/templates/aaf-deployment.yaml
+++ b/kubernetes/aaf/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
diff --git a/kubernetes/config/docker/init/src/config/aaf/data2/identities.dat b/kubernetes/config/docker/init/src/config/aaf/data2/identities.dat
new file mode 100644
index 0000000000..95eb51d1be
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/aaf/data2/identities.dat
@@ -0,0 +1,9 @@
+iowna|Ima D. Owner|Ima|Owner|314-123-2000|ima.d.owner@osaaf.com|e|
+mmanager|Mark D. Manager|Mark|Manager|314-123-1234|mark.d.manager@osaaf.com|e|iowna
+bdevl|Robert D. Developer|Bob|Developer|314-123-1235|bob.d.develper@osaaf.com|e|mmanager
+mmarket|Mary D. Marketer|Mary|Marketer|314-123-1236|mary.d.marketer@osaaf.com|e|mmanager
+ccontra|Clarice D. Contractor|Clarice|Contractor|314-123-1237|clarice.d.contractor@osaaf.com|c|mmanager
+iretired|Ira Lee M. Retired|Ira|Retired|314-123-1238|clarice.d.contractor@osaaf.com|n|mmanager
+osaaf|ID of AAF|||||a|bdevl
+m99751|ID of AAF|||||a|bdevl
+m99501|ID of AAF|||||a|bdevl