mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-26 00:49:01 +00:00
22 lines
711 B
YAML
22 lines
711 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "home-assistant.fullname" . }}-configurator
|
|
labels:
|
|
app: {{ template "home-assistant.name" . }}
|
|
chart: {{ template "home-assistant.chart" . }}
|
|
component: configurator
|
|
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.username }}
|
|
username: {{ .Values.configurator.username | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.configurator.password }}
|
|
password: {{ .Values.configurator.password | b64enc | quote }}
|
|
{{- end }}
|