mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
added zwave capabilities to kubernetes (#14837)
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7f9ad7a2b1
commit
912307e855
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 0.93.2
|
||||
description: Home Assistant
|
||||
name: home-assistant
|
||||
version: 0.9.2
|
||||
version: 0.9.3
|
||||
keywords:
|
||||
- home-assistant
|
||||
- hass
|
||||
|
||||
@@ -63,6 +63,8 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
||||
| `git.secret` | Git secret to use for git-sync | `git-creds` |
|
||||
| `git.syncPath` | Git sync path | `/config` |
|
||||
| `git.keyPath` | Git ssh key path | `/root/.ssh` |
|
||||
| `zwave.enabled` | Enable zwave host device passthrough. Also enables privileged container mode. | `false` |
|
||||
| `zwave.device` | Device to passthrough to guest | `ttyACM0` |
|
||||
| `extraEnv` | Extra ENV vars to pass to the home-assistant container | `{}` |
|
||||
| `extraEnvSecrets` | Extra env vars to pass to the home-assistant container from k8s secrets - see `values.yaml` for an example | `{}` |
|
||||
| `configurator.enabled` | Enable the optional [configuration UI](https://github.com/danielperna84/hass-configurator) | `false` |
|
||||
|
||||
@@ -89,6 +89,10 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
{{- if .Values.zwave.enabled }}
|
||||
- mountPath: /dev/ttyACM0
|
||||
name: ttyacm
|
||||
{{- end }}
|
||||
{{- if .Values.git.enabled }}
|
||||
- mountPath: {{ .Values.git.keyPath }}
|
||||
name: git-secret
|
||||
@@ -104,6 +108,10 @@ spec:
|
||||
{{- end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- if .Values.zwave.enabled }}
|
||||
securityContext:
|
||||
privileged: true
|
||||
{{- end }}
|
||||
{{- if .Values.configurator.enabled }}
|
||||
- name: configurator
|
||||
image: "{{ .Values.configurator.image.repository }}:{{ .Values.configurator.image.tag }}"
|
||||
@@ -224,6 +232,11 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{ end }}
|
||||
{{- if .Values.zwave.enabled }}
|
||||
- name: ttyacm
|
||||
hostPath:
|
||||
path: /dev/{{.Values.zwave.device}}
|
||||
{{- end }}
|
||||
{{- if .Values.git.enabled }}
|
||||
- name: git-secret
|
||||
secret:
|
||||
|
||||
@@ -95,6 +95,10 @@ git:
|
||||
syncPath: /config
|
||||
keyPath: /root/.ssh
|
||||
|
||||
zwave:
|
||||
enabled: false
|
||||
device: ttyACM0
|
||||
|
||||
configurator:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user