From 9f354818ca418f86d42bf549613e46b66ebdc323 Mon Sep 17 00:00:00 2001 From: Mandeep Khinda Date: Fri, 25 Aug 2017 16:18:28 +0000 Subject: moving appc & sdnc to 1.1 -Updated forked config files. --Had to change from mounting whole dir to specific files as we were overwriting other files from the image! Issue-ID:OOM-66 Issue-ID:OOM-160 Change-Id: Id6d5394e279fcbdbbaffc8f48067e73a7c99c1c9 Signed-off-by: Mandeep Khinda --- kubernetes/sdnc/templates/sdnc-deployment.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'kubernetes/sdnc/templates') diff --git a/kubernetes/sdnc/templates/sdnc-deployment.yaml b/kubernetes/sdnc/templates/sdnc-deployment.yaml index cb296da498..f4947924ba 100644 --- a/kubernetes/sdnc/templates/sdnc-deployment.yaml +++ b/kubernetes/sdnc/templates/sdnc-deployment.yaml @@ -51,8 +51,10 @@ spec: imagePullPolicy: {{ .Values.pullPolicy }} name: sdnc-controller-container volumeMounts: - - mountPath: /opt/openecomp/sdnc/data/properties - name: sdnc-conf + - mountPath: /opt/openecomp/sdnc/data/properties/aaiclient.properties + name: sdnc-aaiclient-properties + - mountPath: /opt/openecomp/sdnc/data/properties/admportal.json + name: sdnc-admportal-json ports: - containerPort: 8181 readinessProbe: @@ -61,8 +63,11 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumes: - - name: sdnc-conf + - name: sdnc-aaiclient-properties hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/aaiclient.properties + - name: sdnc-admportal-json + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/admportal.json imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" -- cgit 1.2.3-korg