Added missing mount to aaf deployment yaml 63/16863/1
authorDusan Rozman <dusan.rozman@amdocs.com>
Mon, 2 Oct 2017 13:55:04 +0000 (09:55 -0400)
committerDusan Rozman <dusan.rozman@amdocs.com>
Mon, 2 Oct 2017 14:02:29 +0000 (10:02 -0400)
Created mount /data2/ needed for aaf

Change-Id: I050579e42afce9dc29c4c7a3cfdfb05ddb4d4217
Issue-ID: OOM-331
Signed-off-by: Dusan Rozman <dusan.rozman@amdocs.com>
kubernetes/aaf/templates/aaf-cs-deployment.yaml
kubernetes/aaf/templates/aaf-deployment.yaml
kubernetes/config/docker/init/src/config/aaf/data2/identities.dat [new file with mode: 0644]

index f240150..23968f9 100644 (file)
@@ -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:
index 20e21c4..5950b92 100644 (file)
@@ -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 (file)
index 0000000..95eb51d
--- /dev/null
@@ -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