Revert "added filebeat to all components"
[oom.git] / kubernetes / sdnc / templates / sdnc-deployment.yaml
index cb296da..4b12390 100644 (file)
@@ -51,8 +51,13 @@ spec:
         imagePullPolicy: {{ .Values.pullPolicy }}
         name: sdnc-controller-container
         volumeMounts:
-        - mountPath: /opt/openecomp/sdnc/data/properties
-          name: sdnc-conf
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
+        - 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 +66,14 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
-        - name: sdnc-conf
+        - name: localtime
           hostPath:
-            path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf
+            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
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"