mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
Add support for hostAliases (#154)
Co-authored-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
parent
bf1772a44e
commit
ae45a4f962
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 0.116.1
|
appVersion: 0.116.1
|
||||||
description: Home Assistant
|
description: Home Assistant
|
||||||
name: home-assistant
|
name: home-assistant
|
||||||
version: 2.6.0
|
version: 2.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
- hass
|
- hass
|
||||||
|
@ -68,6 +68,7 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
|||||||
| `service.publishNotReadyAddresses` | Set to true if the editors (vscode or configurator) should be reachable when home assistant does not run | `false` |
|
| `service.publishNotReadyAddresses` | Set to true if the editors (vscode or configurator) should be reachable when home assistant does not run | `false` |
|
||||||
| `service.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
|
| `service.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
|
||||||
| `hostNetwork` | Enable hostNetwork - might be needed for discovery to work | `false` |
|
| `hostNetwork` | Enable hostNetwork - might be needed for discovery to work | `false` |
|
||||||
|
| `hostAliases` | Define custom entries in /etc/hosts | `[]` |
|
||||||
| `service.nodePort` | nodePort to listen on for the home-assistant GUI | `` |
|
| `service.nodePort` | nodePort to listen on for the home-assistant GUI | `` |
|
||||||
| `ingress.enabled` | Enables Ingress | `false` |
|
| `ingress.enabled` | Enables Ingress | `false` |
|
||||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
| `ingress.annotations` | Ingress annotations | `{}` |
|
||||||
|
@ -37,6 +37,10 @@ spec:
|
|||||||
{{- if .Values.hostNetwork }}
|
{{- if .Values.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.hostNetwork }}
|
hostNetwork: {{ .Values.hostNetwork }}
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{ toYaml .Values.hostAliases | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- if .Values.git.enabled }}
|
{{- if .Values.git.enabled }}
|
||||||
|
@ -65,6 +65,14 @@ ingress:
|
|||||||
|
|
||||||
hostNetwork: false
|
hostNetwork: false
|
||||||
|
|
||||||
|
hostAliases: []
|
||||||
|
# Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames.
|
||||||
|
# ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||||
|
# - ip: "192.168.1.100"
|
||||||
|
# hostnames:
|
||||||
|
# - "example.com"
|
||||||
|
# - "www.example.com"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
## home-assistant data Persistent Volume Storage Class
|
## home-assistant data Persistent Volume Storage Class
|
||||||
|
Loading…
Reference in New Issue
Block a user