mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +00:00
[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:
parent
457776fe7c
commit
c78466c598
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user