summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-logs-configmap.yaml
blob: c5735ba7226340d763c660049d1e03a03a7aa9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 }}