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