Run all components in one namespace
[oom.git] / kubernetes / portal / templates / portal-logs-configmap.yaml
1 #{{ if not .Values.disablePortalPortalapps }}
2 apiVersion: v1
3 kind: ConfigMap
4 metadata:
5   name: portal-filebeat-configmap
6   namespace: {{ .Values.nsPrefix }}
7 data:
8 {{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}
9 ---
10 apiVersion: v1
11 kind: ConfigMap
12 metadata:
13   name: portal-onapportal-log-configmap
14   namespace: {{ .Values.nsPrefix }}
15 data:
16 {{ tpl (.Files.Glob "resources/config/log/portal/onapportal/logback.xml").AsConfig . | indent 2 }}
17 ---
18 apiVersion: v1
19 kind: ConfigMap
20 metadata:
21   name: portal-onapportalsdk-log-configmap
22   namespace: {{ .Values.nsPrefix }}
23 data:
24 {{ tpl (.Files.Glob "resources/config/log/portal/onapportalsdk/logback.xml").AsConfig . | indent 2 }}
25 #{{ end }}
26