From 5fc2de19a702faf72b431cef595360ca1ddc39a5 Mon Sep 17 00:00:00 2001 From: Rob Coward Date: Wed, 14 Aug 2024 09:12:22 +0100 Subject: [PATCH] fix: moved dnsPolicy,hostNetwork,enableServiceLinks to correct position --- charts/home-assistant/templates/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/home-assistant/templates/deployment.yaml b/charts/home-assistant/templates/deployment.yaml index ec67525..027adc1 100644 --- a/charts/home-assistant/templates/deployment.yaml +++ b/charts/home-assistant/templates/deployment.yaml @@ -30,15 +30,15 @@ spec: serviceAccountName: {{ include "home-assistant.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + dnsPolicy: {{ .Values.dnsPolicy }} + hostNetwork: {{ .Values.hostNetwork }} + enableServiceLinks: {{ .Values.enableServiceLinks }} containers: - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} - dnsPolicy: {{ .Values.dnsPolicy }} - hostNetwork: {{ .Values.hostNetwork }} - enableServiceLinks: {{ .Values.enableServiceLinks }} ports: - name: http containerPort: {{ .Values.service.port }}