summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-logs-configmap.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-24 17:11:19 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-24 17:11:19 +0000
commit744bad32171df0e6f8fc0ef28be86c2bd99dbaf1 (patch)
tree85abb7e71b3efe566846f35b0bb1224b1c93778a /kubernetes/portal/templates/portal-logs-configmap.yaml
parent2e533498b23e25d7e5fa31862f0f73e9c2329b11 (diff)
parentc8f632c052751e4ec61c6f9841010d1a8b1e869d (diff)
Merge "portal config seg"
Diffstat (limited to 'kubernetes/portal/templates/portal-logs-configmap.yaml')
-rw-r--r--kubernetes/portal/templates/portal-logs-configmap.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/kubernetes/portal/templates/portal-logs-configmap.yaml b/kubernetes/portal/templates/portal-logs-configmap.yaml
new file mode 100644
index 0000000000..c5735ba722
--- /dev/null
+++ b/kubernetes/portal/templates/portal-logs-configmap.yaml
@@ -0,0 +1,26 @@
+#{{ if not .Values.disablePortalPortalapps }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-filebeat-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-onapportal-log-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/log/portal/onapportal/logback.xml").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-onapportalsdk-log-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/log/portal/onapportalsdk/logback.xml").AsConfig . | indent 2 }}
+#{{ end }}
+