Skip to content

Commit

Permalink
Merge pull request #6156 from kahirokunn/host-network-dns-policy
Browse files Browse the repository at this point in the history
chore: When hostNetwork is enabled, dnsPolicy is now set to ClusterFirstWithHostNet.
  • Loading branch information
jetstack-bot committed Jul 27, 2023
2 parents 0b9366c + c2c0209 commit cabc058
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/charts/cert-manager/templates/webhook-deployment.yaml
Expand Up @@ -55,6 +55,9 @@ spec:
{{- if .Values.webhook.hostNetwork }}
hostNetwork: true
{{- end }}
{{- if .Values.webhook.hostNetwork }}
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
containers:
- name: {{ .Chart.Name }}-webhook
{{- with .Values.webhook.image }}
Expand Down

0 comments on commit cabc058

Please sign in to comment.