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 <mandeep.khinda@amdocs.com>
diff --git a/kubernetes/sdnc/templates/sdnc-deployment.yaml b/kubernetes/sdnc/templates/sdnc-deployment.yaml
index cb296da..f494792 100644
--- a/kubernetes/sdnc/templates/sdnc-deployment.yaml
+++ b/kubernetes/sdnc/templates/sdnc-deployment.yaml
@@ -51,8 +51,10 @@
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 @@
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"