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 }}