Pramod | ba635b3 | 2018-01-17 12:05:14 +0000 | [diff] [blame] | 1 | #{{ if not .Values.disableSdcSdcBe }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: sdc-log-be-configmap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 6 | namespace: {{ .Values.nsPrefix }} |
Pramod | ba635b3 | 2018-01-17 12:05:14 +0000 | [diff] [blame] | 7 | data: |
| 8 | {{ tpl (.Files.Glob "resources/config/log/be/*").AsConfig . | indent 2 }} |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: ConfigMap |
| 12 | metadata: |
| 13 | name: sdc-filebeat-configmap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 14 | namespace: {{ .Values.nsPrefix }} |
Pramod | ba635b3 | 2018-01-17 12:05:14 +0000 | [diff] [blame] | 15 | data: |
| 16 | {{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }} |
| 17 | #{{ end }} |
| 18 | --- |
| 19 | #{{ if not .Values.disableSdcSdcFe }} |
| 20 | apiVersion: v1 |
| 21 | kind: ConfigMap |
| 22 | metadata: |
| 23 | name: sdc-log-fe-configmap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 24 | namespace: {{ .Values.nsPrefix }} |
Pramod | ba635b3 | 2018-01-17 12:05:14 +0000 | [diff] [blame] | 25 | data: |
| 26 | {{ tpl (.Files.Glob "resources/config/log/fe/*").AsConfig . | indent 2 }} |
| 27 | #{{ end }} |