--- apiVersion: v1 kind: Secret metadata: name: {{ include "common.names.fullname" . -}}-config labels: {{- include "common.labels" . | nindent 4 }} annotations: {{- with .Values.annotations }} {{- toYaml . | nindent 4 }} {{- end }} data: loki.yaml: {{ tpl (toYaml .Values.config) . | b64enc}}