aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-12 13:47:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-12 13:47:31 +0000
commit782351dfbd683f4a5f77e450369ac29d56922d68 (patch)
treef83ee0ecc6c50cff66de75649dab633c8d85f76a /kubernetes/aai/charts/aai-champ/templates/deployment.yaml
parentab078dfc13834fa23ac87a245837e76b3467a31b (diff)
parentb4333f99f468e748d1f529229370a536f236907b (diff)
Merge "Mounting logback.xml file to champ MS"
Diffstat (limited to 'kubernetes/aai/charts/aai-champ/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/charts/aai-champ/templates/deployment.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-champ/templates/deployment.yaml b/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
index dc8cbb5aaf..0e2bb90aa7 100644
--- a/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
@@ -97,6 +97,9 @@ spec:
- 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:
@@ -131,5 +134,11 @@ spec:
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"