Merge "expose nexus and swagger api ports externally"
[oom.git] / kubernetes / aai / charts / aai-babel / templates / deployment.yaml
index 6b1312b..af25b47 100644 (file)
@@ -32,7 +32,7 @@ spec:
     spec:
       containers:
         - name: {{ include "common.name" . }}
-          image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"
+          image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
@@ -77,6 +77,9 @@ spec:
             name: {{ include "common.fullname" . }}-secrets
           - mountPath: /logs
             name: {{ include "common.fullname" . }}-logs
+          - mountPath: /opt/app/babel/config/logback.xml
+            name: {{ include "common.fullname" . }}-config
+            subPath: logback.xml
           resources:
 {{ toYaml .Values.resources | indent 12 }}
         {{- if .Values.nodeSelector }}
@@ -99,6 +102,8 @@ spec:
               path: artifact-generator.properties
             - key: babel-auth.properties
               path: babel-auth.properties
+            - key: logback.xml
+              path: logback.xml
         - name: {{ include "common.fullname" . }}-secrets
           secret:
             secretName: {{ include "common.fullname" . }}-babel-secrets