mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
19 lines
641 B
YAML
19 lines
641 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "home-assistant.configurator.fullname" . }}
|
|
labels:
|
|
app: {{ template "home-assistant.name" . }}
|
|
chart: {{ template "home-assistant.chart" . }}
|
|
component: "{{ .Release.Name }}-{{ .Values.configurator.name }}"
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
type: Opaque
|
|
data:
|
|
{{- if .Values.configurator.hassApiPassword }}
|
|
hass-api-password: {{ .Values.configurator.hassApiPassword | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.configurator.credentials }}
|
|
credentials: {{ .Values.configurator.credentials | b64enc | quote }}
|
|
{{- end }}
|