diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-09-12 13:47:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-12 13:47:31 +0000 |
commit | 7924af16c290405a4a80ade4c7d420b8b17305cb (patch) | |
tree | fe01f870436378f7e600ce2b15c3d48947648950 /charts/aai-champ/templates | |
parent | 41a435da51a6c39809b9582f79822ac4a6e6c64c (diff) | |
parent | a1fe2fbefc73e6af7a6ba66b14a22e0a761f9717 (diff) |
Merge "Mounting logback.xml file to champ MS"
Diffstat (limited to 'charts/aai-champ/templates')
-rw-r--r-- | charts/aai-champ/templates/configmap.yaml | 8 | ||||
-rw-r--r-- | charts/aai-champ/templates/deployment.yaml | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/charts/aai-champ/templates/configmap.yaml b/charts/aai-champ/templates/configmap.yaml index baeb238..42733a7 100644 --- a/charts/aai-champ/templates/configmap.yaml +++ b/charts/aai-champ/templates/configmap.yaml @@ -28,3 +28,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 dc8cbb5..0e2bb90 100644 --- a/charts/aai-champ/templates/deployment.yaml +++ b/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" |