summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/sdc-log-configmap.yaml
diff options
context:
space:
mode:
authorPramod <pramod.kumarsharma@amdocs.com>2018-01-17 12:05:14 +0000
committerBorislavG <Borislav.Glozman@amdocs.com>2018-02-07 14:56:42 +0000
commitba635b3dc4d520e4be28dc82c40b049567ff2c88 (patch)
treefa61825a68b5c577d207e8090d9a1c81d5b3a38d /kubernetes/sdc/templates/sdc-log-configmap.yaml
parent18c2dbcdf7904d6a4030efa141fe232009362800 (diff)
Config seg sdc deployment
Issue-ID: OOM-550 Signed-off-by: Pramod <pramod.kumarsharma@amdocs.com> Change-Id: Ibad8a16fb289ddd4260be5cce0c787e4de212a97
Diffstat (limited to 'kubernetes/sdc/templates/sdc-log-configmap.yaml')
-rw-r--r--kubernetes/sdc/templates/sdc-log-configmap.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/kubernetes/sdc/templates/sdc-log-configmap.yaml b/kubernetes/sdc/templates/sdc-log-configmap.yaml
new file mode 100644
index 0000000000..c79f9e064c
--- /dev/null
+++ b/kubernetes/sdc/templates/sdc-log-configmap.yaml
@@ -0,0 +1,27 @@
+#{{ if not .Values.disableSdcSdcBe }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sdc-log-be-configmap
+ namespace: {{ .Values.nsPrefix }}-sdc
+data:
+{{ tpl (.Files.Glob "resources/config/log/be/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sdc-filebeat-configmap
+ namespace: {{ .Values.nsPrefix }}-sdc
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
+#{{ end }}
+---
+#{{ if not .Values.disableSdcSdcFe }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sdc-log-fe-configmap
+ namespace: {{ .Values.nsPrefix }}-sdc
+data:
+{{ tpl (.Files.Glob "resources/config/log/fe/*").AsConfig . | indent 2 }}
+#{{ end }}