[home-assistant] Update deployment.yaml (#299)

* Update deployment.yaml

Add git support on configurator and ensure extraEnvs are quoted

* Update Chart.yaml

* Update deployment.yaml

* Update deployment.yaml
This commit is contained in:
Ian Duffy 2020-07-29 05:16:31 +01:00 committed by GitHub
parent 457776fe7c
commit c78466c598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.112.4
description: Home Assistant
name: home-assistant
version: 1.0.2
version: 1.0.3
keywords:
- home-assistant
- hass

View File

@ -110,7 +110,7 @@ spec:
env:
{{- range $key, $value := .Values.extraEnv }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- range $name, $opts := .Values.extraEnvSecrets }}
- name: {{ $name }}
@ -202,6 +202,10 @@ spec:
- name: HC_ENFORCE_BASEPATH
value: "{{ .Values.configurator.enforceBasepath }}"
{{- end }}
{{- if .Values.git.enabled }}
- name: HC_GIT
value: "true"
{{ end }}
{{- if and (.Values.git.enabled) (.Values.git.user.name) }}
- name: GIT_AUTHOR_NAME
value: {{ .Values.git.user.name }}
@ -216,7 +220,7 @@ spec:
{{ end }}
{{- range $key, $value := .Values.configurator.extraEnv }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
volumeMounts:
- mountPath: /config
@ -279,7 +283,7 @@ spec:
{{ end }}
{{- range $key, $value := .Values.vscode.extraEnv }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
volumeMounts:
- mountPath: /config
@ -338,7 +342,7 @@ spec:
{{ end }}
{{- range $key, $value := .Values.vscode.extraEnv }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
volumeMounts:
- mountPath: /ha-conf