Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 1 | {{- if not .Values.loki.existingSecretForConfig -}} |
2 | apiVersion: v1 | ||||
3 | kind: ConfigMap | ||||
4 | metadata: | ||||
5 | name: {{ include "loki.name" . }} | ||||
6 | labels: | ||||
7 | {{- include "loki.labels" . | nindent 4 }} | ||||
8 | data: | ||||
9 | config.yaml: | | ||||
10 | {{- tpl (mergeOverwrite (tpl .Values.loki.config . | fromYaml) .Values.loki.structuredConfig | toYaml) . | nindent 4 }} | ||||
11 | {{- end -}} |