mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/home-assistant] - Add extraVolumes/mounts (#20258)
* Add extraVoume * Add extraVoumeMount * Version bump Signed-off-by: Mike Splain <mike.splain@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
21546e62d2
commit
09f02a592a
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 0.103.3
|
||||
description: Home Assistant
|
||||
name: home-assistant
|
||||
version: 0.10.0
|
||||
version: 0.11.0
|
||||
keywords:
|
||||
- home-assistant
|
||||
- hass
|
||||
|
||||
@@ -143,6 +143,8 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
||||
| `tolerations` | Toleration labels for pod assignment or the home-assistant GUI | `[]` |
|
||||
| `affinity` | Affinity settings for pod assignment or the home-assistant GUI | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
| `extraVolumes` | Any extra volumes to define for the pod | `{}` |
|
||||
| `extraVolumeMounts` | Any extra volumes mounts to define for each container of the pod | `{}` |
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
@@ -55,6 +55,7 @@ spec:
|
||||
name: config
|
||||
- mountPath: {{ .Values.git.keyPath }}
|
||||
name: git-secret
|
||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 8 }}{{ end }}
|
||||
{{- if .Values.usePodSecurityContext }}
|
||||
securityContext:
|
||||
runAsUser: {{ default 0 .Values.runAsUser }}
|
||||
@@ -130,6 +131,7 @@ spec:
|
||||
- mountPath: {{ .Values.git.keyPath }}
|
||||
name: git-secret
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 10 }}{{ end }}
|
||||
{{- if .Values.usePodSecurityContext }}
|
||||
securityContext:
|
||||
runAsUser: {{ default 0 .Values.runAsUser }}
|
||||
@@ -199,6 +201,7 @@ spec:
|
||||
- mountPath: {{ .Values.git.keyPath }}
|
||||
name: git-secret
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 10 }}{{ end }}
|
||||
{{- if .Values.usePodSecurityContext }}
|
||||
securityContext:
|
||||
runAsUser: {{ default 0 .Values.runAsUser }}
|
||||
@@ -246,6 +249,7 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 10 }}{{ end }}
|
||||
{{- if .Values.usePodSecurityContext }}
|
||||
securityContext:
|
||||
runAsUser: {{ default 0 .Values.runAsUser }}
|
||||
@@ -291,6 +295,7 @@ spec:
|
||||
defaultMode: 256
|
||||
secretName: {{ .Values.git.secret }}
|
||||
{{ end }}
|
||||
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 6 }}{{ end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 8 }}
|
||||
|
||||
@@ -270,3 +270,15 @@ tolerations: []
|
||||
affinity: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
# Any extra volumes to define for the pod
|
||||
extraVolumes: []
|
||||
# - name: example-name
|
||||
# hostPath:
|
||||
# path: /path/on/host
|
||||
# type: DirectoryOrCreate
|
||||
|
||||
# Any extra volume mounts to define for the containers
|
||||
extraVolumeMounts: []
|
||||
# - name: example-name
|
||||
# mountPath: /path/in/container
|
||||
|
||||
Reference in New Issue
Block a user