Merge "[AAI] Make aai log level configurable"
[oom.git] / kubernetes / aai / components / aai-babel / templates / deployment.yaml
index 397e8fd..24d34e8 100644 (file)
@@ -58,9 +58,6 @@ spec:
             - name: CONFIG_HOME
               value: /opt/app/babel/config
           volumeMounts:
-          - mountPath: /etc/localtime
-            name: localtime
-            readOnly: true
           - mountPath: /opt/app/babel/config/application.properties
             name: config
             subPath: application.properties
@@ -94,9 +91,6 @@ spec:
       {{ include "common.log.sidecar" . | nindent 8 }}
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
-        - name: localtime
-          hostPath:
-            path: /etc/localtime
         - name: config
           configMap:
             name: {{ include "common.fullname" . }}-configmap
@@ -107,5 +101,4 @@ spec:
           emptyDir: {}
         {{ include "common.log.volumes" (dict "dot" . "configMapNamePrefix" (tpl .Values.logConfigMapNamePrefix .)) | nindent 8 }}
 
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}