* fix dns on hostnet for home-assistant * bump * wrong bump on tag
@@ -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" . }}