sdnc web portal config seg 55/28255/2
authormayankg2703 <mayank.gupta@amdocs.com>
Tue, 16 Jan 2018 05:33:08 +0000 (05:33 +0000)
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Tue, 23 Jan 2018 18:48:25 +0000 (18:48 +0000)
Issue-ID: OOM-586

Change-Id: I69b8a93b004795f28b06e31ebc8c98c4d29e334b
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
kubernetes/sdnc/templates/web-deployment.yaml

index fcd82a4..7e8b59c 100644 (file)
@@ -50,10 +50,8 @@ spec:
         - name: localtime
           mountPath: /etc/localtime
           readOnly: true
-        - mountPath: /opt/onap/sdnc/data/properties/aaiclient.properties
-          name: sdnc-aaiclient-properties
-        - mountPath: /opt/onap/sdnc/data/properties/admportal.json
-          name: sdnc-admportal-json
+        - mountPath: /opt/onap/sdnc/data/properties/
+          name: sdnc-conf
         readinessProbe:
           tcpSocket:
             port: 8843
@@ -64,12 +62,9 @@ spec:
       - name: localtime
         hostPath:
           path: /etc/localtime
-      - name: sdnc-aaiclient-properties
-        hostPath:
-          path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/aaiclient.properties
-      - name: sdnc-admportal-json
-        hostPath:
-          path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/admportal.json
+      - name: sdnc-conf
+        configMap:
+          name: sdnc-conf-configmap
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
 #{{ end }}