helm-charts/charts/home-assistant/templates/secrets.yaml

12 lines
291 B
YAML
Raw Permalink Normal View History

2024-11-12 11:41:47 +00:00
apiVersion: v1
kind: Secret
metadata:
name: hass-secrets
namespace: {{ .Values.namespace | default "default" }}
labels: {{ include "lib.labels" . | nindent 4 }}
type: Opauge
data:
{{- range $n, $v := .Values.hass_secrets -}}
{{ $n | nindent 2 }}: {{ $v | b64enc }}
{{- end }}