TrueChartsClone/charts/stable/loki/templates/secret.yaml

14 lines
314 B
YAML

---
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}}