blob: 8cfb80be857729ef7a1388be218524dcad9db84a [file] [log] [blame]
{{- if not .Values.loki.existingSecretForConfig -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "loki.name" . }}
labels:
{{- include "loki.labels" . | nindent 4 }}
data:
config.yaml: |
{{- tpl (mergeOverwrite (tpl .Values.loki.config . | fromYaml) .Values.loki.structuredConfig | toYaml) . | nindent 4 }}
{{- end -}}