mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[home-assistant] Fix env for appdaemon (#305)
This commit is contained in:
parent
601341ca9b
commit
351d46296f
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 0.118.3
|
appVersion: 0.118.3
|
||||||
description: Home Assistant
|
description: Home Assistant
|
||||||
name: home-assistant
|
name: home-assistant
|
||||||
version: 3.2.0
|
version: 3.2.1
|
||||||
keywords:
|
keywords:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
- hass
|
- hass
|
||||||
|
@ -42,7 +42,7 @@ The command removes all the Kubernetes components associated with the chart and
|
|||||||
The following tables lists the configurable parameters of the Home Assistant chart and their default values.
|
The following tables lists the configurable parameters of the Home Assistant chart and their default values.
|
||||||
|
|
||||||
| Parameter | Description | Default |
|
| Parameter | Description | Default |
|
||||||
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
|
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
|
||||||
| `image.repository` | Image repository | `homeassistant/home-assistant` |
|
| `image.repository` | Image repository | `homeassistant/home-assistant` |
|
||||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.118.3` |
|
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.118.3` |
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
@ -142,7 +142,7 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
|||||||
| `vscode.vscodePath` | Base path of the VS Code configuration files | `/config/.vscode` |
|
| `vscode.vscodePath` | Base path of the VS Code configuration files | `/config/.vscode` |
|
||||||
| `vscode.password` | If this is set, will require a password to access the VS Code Server UI | `` |
|
| `vscode.password` | If this is set, will require a password to access the VS Code Server UI | `` |
|
||||||
| `vscode.extraEnv` | Extra ENV vars to pass to the configuration UI | `{}` |
|
| `vscode.extraEnv` | Extra ENV vars to pass to the configuration UI | `{}` |
|
||||||
| `vscode.args` | Optional arguments to pass into vscode image. Defaulting to "-" uses default arguments. | `-` |
|
| `vscode.args` | Optional arguments to pass into vscode image. Defaulting to "-" uses default arguments. | `-` |
|
||||||
| `vscode.ingress.enabled` | Enables Ingress for the VS Code UI | `false` |
|
| `vscode.ingress.enabled` | Enables Ingress for the VS Code UI | `false` |
|
||||||
| `vscode.ingress.annotations` | Ingress annotations for the VS Code UI | `{}` |
|
| `vscode.ingress.annotations` | Ingress annotations for the VS Code UI | `{}` |
|
||||||
| `vscode.ingress.hosts` | Ingress accepted hostnames for the VS Code UI | `chart-example.local` |
|
| `vscode.ingress.hosts` | Ingress accepted hostnames for the VS Code UI | `chart-example.local` |
|
||||||
@ -163,7 +163,8 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
|||||||
| `appdaemon.image.tag` | Image tag | `3.0.5` |
|
| `appdaemon.image.tag` | Image tag | `3.0.5` |
|
||||||
| `appdaemon.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `appdaemon.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `appdaemon.haToken` | Home Assistant API token - you need to generate it in your Home Assistant profile and then copy here | `` |
|
| `appdaemon.haToken` | Home Assistant API token - you need to generate it in your Home Assistant profile and then copy here | `` |
|
||||||
| `appdaemon.extraEnv` | Extra ENV vars to pass to the AppDaemon container | `{}` |
|
| `appdaemon.env` | Extra ENV vars to pass to the AppDaemon container | `{}` |
|
||||||
|
| `appdaemon.envFrom` | Extra ENV vars from configMap or secret to pass to the AppDaemon container | `{}` |
|
||||||
| `appdaemon.configSubPath` | An optional subPath for the AppDaemon container's config volume mount | `appdaemon` |
|
| `appdaemon.configSubPath` | An optional subPath for the AppDaemon container's config volume mount | `appdaemon` |
|
||||||
| `appdaemon.ingress.enabled` | Enables Ingress for the AppDaemon UI | `false` |
|
| `appdaemon.ingress.enabled` | Enables Ingress for the AppDaemon UI | `false` |
|
||||||
| `appdaemon.ingress.annotations` | Ingress annotations for the AppDaemon UI | `{}` |
|
| `appdaemon.ingress.annotations` | Ingress annotations for the AppDaemon UI | `{}` |
|
||||||
|
@ -338,7 +338,14 @@ spec:
|
|||||||
- name: appdaemon
|
- name: appdaemon
|
||||||
containerPort: {{ .Values.appdaemon.service.port }}
|
containerPort: {{ .Values.appdaemon.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- with .Values.appdaemon.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.appdaemon.env }}
|
||||||
env:
|
env:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
- name: HA_URL
|
- name: HA_URL
|
||||||
value: "http://localhost:{{ .Values.service.port }}"
|
value: "http://localhost:{{ .Values.service.port }}"
|
||||||
{{- if .Values.appdaemon.ingress.enabled }}
|
{{- if .Values.appdaemon.ingress.enabled }}
|
||||||
@ -365,10 +372,6 @@ spec:
|
|||||||
- name: GIT_COMMITTER_EMAIL
|
- name: GIT_COMMITTER_EMAIL
|
||||||
value: {{ .Values.git.user.email }}
|
value: {{ .Values.git.user.email }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- range $key, $value := .Values.vscode.extraEnv }}
|
|
||||||
- name: {{ $key }}
|
|
||||||
value: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /ha-conf
|
- mountPath: /ha-conf
|
||||||
name: config
|
name: config
|
||||||
|
@ -313,10 +313,26 @@ appdaemon:
|
|||||||
## Home Assistant API token
|
## Home Assistant API token
|
||||||
# haToken:
|
# haToken:
|
||||||
|
|
||||||
## Additional hass-vscode container environment variable
|
# Environment variables to be passed to appdaemon comtainer
|
||||||
## For instance to add a http_proxy
|
env: []
|
||||||
##
|
# - name: SOME_VAR
|
||||||
extraEnv: {}
|
# value: some-var-value
|
||||||
|
# - name: SOME_VAR_FROM_CONFIG_MAP
|
||||||
|
# valueFrom:
|
||||||
|
# configMapRef:
|
||||||
|
# name: configmap-name
|
||||||
|
# key: config-key
|
||||||
|
# - name: SOME_SECRET
|
||||||
|
# valueFrom:
|
||||||
|
# secretKeyRef:
|
||||||
|
# name: secret-name
|
||||||
|
# key: secret-key
|
||||||
|
|
||||||
|
envFrom: []
|
||||||
|
# - configMapRef:
|
||||||
|
# name: config-map-name
|
||||||
|
# - secretRef:
|
||||||
|
# name: secret-name
|
||||||
|
|
||||||
# If you use an existingClaim for the config volume then it is sometimes useful to specify a subPath
|
# If you use an existingClaim for the config volume then it is sometimes useful to specify a subPath
|
||||||
# within the volume to mount instead of mounting the root.
|
# within the volume to mount instead of mounting the root.
|
||||||
|
Loading…
Reference in New Issue
Block a user