aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/esr/templates/esr-filebeat-configmap.yaml
diff options
context:
space:
mode:
authorLiZi <li.zi30@zte.com.cn>2018-03-14 22:07:08 -0400
committerLiZi <li.zi30@zte.com.cn>2018-03-18 21:11:11 -0400
commitd87e8b869b03cf85dcebc3d817f64d265b9ba98d (patch)
treed7fd08ad160ebcfe6d516b9eb7a85769259cf309 /kubernetes/esr/templates/esr-filebeat-configmap.yaml
parent0947cdf7e780641e1604ef3752483fa4d29efb3e (diff)
Add a filebeat container together with esr-server
With this modification, the log of esr-server will be in filebeat. Change-Id: I647fc665ed383b58c14a34d6598e41cd6842b1ec Issue-ID: AAI-756 Signed-off-by: LiZi <li.zi30@zte.com.cn>
Diffstat (limited to 'kubernetes/esr/templates/esr-filebeat-configmap.yaml')
-rw-r--r--kubernetes/esr/templates/esr-filebeat-configmap.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/esr/templates/esr-filebeat-configmap.yaml b/kubernetes/esr/templates/esr-filebeat-configmap.yaml
new file mode 100644
index 0000000000..4bee5d16ce
--- /dev/null
+++ b/kubernetes/esr/templates/esr-filebeat-configmap.yaml
@@ -0,0 +1,9 @@
+#{{ if not .Values.disableAaiAaiResources }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: esr-filebeat-configmap
+ namespace: {{ .Values.nsPrefix }}
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
+#{{ end }}