summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-01-16 05:33:08 +0000
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-23 18:48:25 +0000
commit6af54e68dda1a237968d38c53f20ff27751981b5 (patch)
tree8abfb0c116bfae8722a422d2f44e08580635712d
parent6573bf22366ae85d4b01849c3b74fe35e77401cd (diff)
sdnc web portal config seg
Issue-ID: OOM-586 Change-Id: I69b8a93b004795f28b06e31ebc8c98c4d29e334b Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
-rw-r--r--kubernetes/sdnc/templates/web-deployment.yaml15
1 files changed, 5 insertions, 10 deletions
diff --git a/kubernetes/sdnc/templates/web-deployment.yaml b/kubernetes/sdnc/templates/web-deployment.yaml
index fcd82a40c0..7e8b59c1eb 100644
--- a/kubernetes/sdnc/templates/web-deployment.yaml
+++ b/kubernetes/sdnc/templates/web-deployment.yaml
@@ -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 }}