apiVersion: v1
kind: Secret
metadata:
  name: {{ include "promtail.fullname" . }}
  namespace: {{ .Release.Namespace }}
  labels:
    {{- include "promtail.labels" . | nindent 4 }}
stringData:
  promtail.yaml: |
    {{- tpl .Values.config.file . | nindent 4 }}
