summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/sdnc-log-configmap.yaml
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-01-16 05:27:01 +0000
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-23 18:48:59 +0000
commiteea1d3ec1680d1ef203840986962f6535736ae38 (patch)
tree4afc3f2a1f8884eb4fc1dce304e3bdae044e6ba9 /kubernetes/sdnc/templates/sdnc-log-configmap.yaml
parent6af54e68dda1a237968d38c53f20ff27751981b5 (diff)
sdnc stateful config seg
Issue-ID: OOM-551 Change-Id: I5f0929f09b52cba4f8d4c0d1aabaa555349933a1 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/sdnc/templates/sdnc-log-configmap.yaml')
-rw-r--r--kubernetes/sdnc/templates/sdnc-log-configmap.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/sdnc-log-configmap.yaml b/kubernetes/sdnc/templates/sdnc-log-configmap.yaml
new file mode 100644
index 0000000000..d13daacb89
--- /dev/null
+++ b/kubernetes/sdnc/templates/sdnc-log-configmap.yaml
@@ -0,0 +1,17 @@
+#{{ if not .Values.disableSdncSdnc }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sdnc-log-configmap
+ namespace: {{ .Values.nsPrefix }}-sdnc
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/log4j/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sdnc-logging-cfg-configmap
+ namespace: {{ .Values.nsPrefix }}-sdnc
+data:
+{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
+#{{ end }}