summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml
diff options
context:
space:
mode:
authormarcinrzepeckiwroc <marcin.rzepecki@nokia.com>2020-08-11 11:24:13 +0200
committermarcinrzepeckiwroc <marcin.rzepecki@nokia.com>2020-08-12 11:03:50 +0200
commit9a05dd22aaaf1182b7e27cbcbf57e4eb0f0ff9e9 (patch)
tree1afa5fc95a8a785e777a7deb7170359e743ff76d /kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml
parent3442e5490abef9d3880f30a316a1554a8aa065fd (diff)
Change logging method for DeploymentHandler (from local log files to stdio)
Issue-ID: DCAEGEN2-2370 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: Ia3b861832155001f025bef32bfd8298d201e4eff
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml')
-rwxr-xr-x[-rw-r--r--]kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml b/kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml
index 789c634956..6c8ed25c40 100644..100755
--- a/kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml
+++ b/kubernetes/dcaegen2/components/dcae-deployment-handler/templates/configmap.yaml
@@ -1,5 +1,6 @@
# Copyright © 2017 Amdocs, Bell Canada
# Modifications Copyright © 2019 AT&T
+# Modifications Copyright © 2020 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -31,4 +32,12 @@ metadata:
name: {{include "common.fullname" . }}-filebeat-configmap
namespace: {{include "common.namespace" . }}
data:
-{{ tpl (.Files.Glob "resources/log/*").AsConfig . | indent 2 }} \ No newline at end of file
+{{ tpl (.Files.Glob "resources/log/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{include "common.fullname" . }}-log4js-configmap
+ namespace: {{include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/log4js/*").AsConfig . | indent 2 }}