summaryrefslogtreecommitdiffstats
path: root/charts/aai-champ/templates
diff options
context:
space:
mode:
authorShwetank Dave <shwetank.dave@amdocs.com>2018-08-14 09:55:46 -0400
committerShwetank Dave <shwetank.dave@amdocs.com>2018-09-12 08:58:28 -0400
commita1fe2fbefc73e6af7a6ba66b14a22e0a761f9717 (patch)
treef82e863632b4b6e0e55f4f08fa557ec84f7f6a9e /charts/aai-champ/templates
parent1996ca0d6cdbee6484d1490735b7ff566f3aa7b3 (diff)
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>
Diffstat (limited to 'charts/aai-champ/templates')
-rw-r--r--charts/aai-champ/templates/configmap.yaml8
-rw-r--r--charts/aai-champ/templates/deployment.yaml9
2 files changed, 17 insertions, 0 deletions
diff --git a/charts/aai-champ/templates/configmap.yaml b/charts/aai-champ/templates/configmap.yaml
index a085839..ed72233 100644
--- a/charts/aai-champ/templates/configmap.yaml
+++ b/charts/aai-champ/templates/configmap.yaml
@@ -27,3 +27,11 @@ metadata:
namespace: {{ include "common.namespace" . }}
data:
{{ tpl (.Files.Glob "resources/config/dynamic/conf/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-log-configmap
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }} \ No newline at end of file
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 @@ 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:
@@ -130,5 +133,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"