Skip to content

Commit

Permalink
fix: moved dnsPolicy,hostNetwork,enableServiceLinks to correct position
Browse files Browse the repository at this point in the history
  • Loading branch information
robcoward committed Aug 14, 2024
1 parent 28c3703 commit 5fc2de1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/home-assistant/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 5fc2de1

Please sign in to comment.