aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/so/templates/configmap.yaml
diff options
context:
space:
mode:
authorsunilb <sb00577584@techmahindra.com>2020-02-25 10:18:48 +0530
committersunilb <sb00577584@techmahindra.com>2020-02-25 10:18:48 +0530
commit0a97ab2857372c54945db23b8ad7afe693f8266d (patch)
tree0a9877b1a2ef64ba00544b79f9d4859a527e7b94 /kubernetes/so/templates/configmap.yaml
parentd98cc501b887299af62d46a0d9071835d9af5ed0 (diff)
readd so filebeat sidecar ELK endpoint
Issue-ID: SO-1110 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: Ic468a1b28d681d14e862f4405890d996b42660f6
Diffstat (limited to 'kubernetes/so/templates/configmap.yaml')
-rwxr-xr-xkubernetes/so/templates/configmap.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/kubernetes/so/templates/configmap.yaml b/kubernetes/so/templates/configmap.yaml
index b57205223e..6aa4b5f4f0 100755
--- a/kubernetes/so/templates/configmap.yaml
+++ b/kubernetes/so/templates/configmap.yaml
@@ -38,3 +38,19 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/overrides/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-log
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ .Release.Name }}-so-filebeat-configmap
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}