2018-07-03 03:50:38 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
2018-08-02 03:18:07 +00:00
|
|
|
name: {{ template "home-assistant.fullname" . }}-configurator
|
2018-07-03 03:50:38 +00:00
|
|
|
labels:
|
|
|
|
app: {{ template "home-assistant.name" . }}
|
|
|
|
chart: {{ template "home-assistant.chart" . }}
|
2018-08-02 03:18:07 +00:00
|
|
|
component: configurator
|
2018-07-03 03:50:38 +00:00
|
|
|
release: {{ .Release.Name }}
|
|
|
|
heritage: {{ .Release.Service }}
|
|
|
|
type: Opaque
|
|
|
|
data:
|
|
|
|
{{- if .Values.configurator.hassApiPassword }}
|
|
|
|
hass-api-password: {{ .Values.configurator.hassApiPassword | b64enc | quote }}
|
|
|
|
{{- end }}
|
2018-08-02 03:18:07 +00:00
|
|
|
{{- if .Values.configurator.username }}
|
|
|
|
username: {{ .Values.configurator.username | b64enc | quote }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if .Values.configurator.password }}
|
|
|
|
password: {{ .Values.configurator.password | b64enc | quote }}
|
2018-07-03 03:50:38 +00:00
|
|
|
{{- end }}
|