mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +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
|
||||
description: Home Assistant
|
||||
name: home-assistant
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
keywords:
|
||||
- home-assistant
|
||||
- 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.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
|
||||
| `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 | `` |
|
||||
| `ingress.enabled` | Enables Ingress | `false` |
|
||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
||||
|
@ -37,6 +37,10 @@ spec:
|
||||
{{- if .Values.hostNetwork }}
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
{{- end }}
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases:
|
||||
{{ toYaml .Values.hostAliases | indent 8 }}
|
||||
{{- end }}
|
||||
initContainers:
|
||||
{{- if .Values.git.enabled }}
|
||||
|
@ -65,6 +65,14 @@ ingress:
|
||||
|
||||
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:
|
||||
enabled: true
|
||||
## home-assistant data Persistent Volume Storage Class
|
||||
|
Loading…
Reference in New Issue
Block a user