mirror of
https://github.com/truenas/charts.git
synced 2026-10-26 07:58:40 +00:00
NAS-121385 / 23.10 / fix dns on hostnet for home-assistant (#1081)
* fix dns on hostnet for home-assistant * bump * wrong bump on tag
This commit is contained in:
@@ -3,7 +3,7 @@ description: Home Assistant App for TrueNAS SCALE
|
||||
annotations:
|
||||
title: Home Assistant
|
||||
type: application
|
||||
version: 1.0.75
|
||||
version: 1.0.76
|
||||
apiVersion: v2
|
||||
appVersion: 2023.4.1
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -30,7 +30,13 @@ spec:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 8 }}
|
||||
annotations: {{ include "common.annotations" . | nindent 8 }}
|
||||
spec:
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
{{ if .Values.hostNetwork }}
|
||||
hostNetwork: true
|
||||
dnsPoliy: ClusterFirstWithHostNet
|
||||
{{ else }}
|
||||
hostNetwork: false
|
||||
dnsPoliy: ClusterFirst
|
||||
{{ end }}
|
||||
initContainers:
|
||||
- name: init-postgresdb
|
||||
image: {{ template "postgres.imageName" . }}
|
||||
|
||||
Reference in New Issue
Block a user