Mounting logback.xml file to champ MS
Adding license to logback.xml file
Change-Id: I0013b14b0e29af25960b2c68c116f9ed39091b7a
Issue-ID: AAI-1477
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
diff --git a/charts/aai-champ/templates/deployment.yaml b/charts/aai-champ/templates/deployment.yaml
index 0941f44..c61b105 100644
--- a/charts/aai-champ/templates/deployment.yaml
+++ b/charts/aai-champ/templates/deployment.yaml
@@ -96,6 +96,9 @@
- mountPath: /opt/app/champ-service/dynamic/conf/champ-beans.xml
name: {{ include "common.fullname" . }}-dynamic-config
subPath: champ-beans.xml
+ - mountPath: /opt/app/champ-service/bundleconfig/etc/logback.xml
+ name: {{ include "common.fullname" . }}-logback-config
+ subPath: logback.xml
- mountPath: /logs
name: {{ include "common.fullname" . }}-logs
resources:
@@ -130,5 +133,11 @@
path: champ-beans.xml
- name: {{ include "common.fullname" . }}-logs
emptyDir: {}
+ - name: {{ include "common.fullname" . }}-logback-config
+ configMap:
+ name: {{ include "common.fullname" . }}-log-configmap
+ items:
+ - key: logback.xml
+ path: logback.xml
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"