aboutsummaryrefslogtreecommitdiffstats
path: root/reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml
diff options
context:
space:
mode:
authorMichael O'Brien <frank.obrien@amdocs.com>2018-07-23 10:07:49 -0400
committerMichael O'Brien <frank.obrien@amdocs.com>2018-07-30 17:05:31 -0400
commit396402cdd65c3f1a5b1fe2ab7fc0dd62f9dc35bd (patch)
treedf15f46731eca7299f4be2204272c1c2600e5177 /reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml
parent268e848b1494dc09d614d8479f70bf9aefa69166 (diff)
add filebeat to k8s log demo
Change-Id: I1c229a9e5f7c9379d8d9f9fdf724908f083925d9 Issue-ID: LOG-137 Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
Diffstat (limited to 'reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml')
-rw-r--r--reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml b/reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml
new file mode 100644
index 0000000..3f60531
--- /dev/null
+++ b/reference/logging-kubernetes/logdemonode/charts/logdemonode/templates/configmap.yaml
@@ -0,0 +1,30 @@
+# Copyright © 2018 Amdocs
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-logback-configmap
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-filebeat-configmap
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}
+