Revert "support CoreDNS use host network and config dns port (#10617)" (#11185)

This reverts commit bc5b38a771.
This commit is contained in:
Max Gautier
2024-05-13 21:51:11 +00:00
committed by GitHub
parent a8f58c244b
commit d8a4aea9bc
4 changed files with 3 additions and 8 deletions

View File

@@ -24,7 +24,6 @@ spec:
annotations:
createdby: 'kubespray'
spec:
hostNetwork: {{ coredns_host_network | default(false) }}
securityContext:
seccompProfile:
type: RuntimeDefault
@@ -76,10 +75,10 @@ spec:
- name: config-volume
mountPath: /etc/coredns
ports:
- containerPort: {{ coredns_port }}
- containerPort: 53
name: dns
protocol: UDP
- containerPort: {{ coredns_port }}
- containerPort: 53
name: dns-tcp
protocol: TCP
- containerPort: 9153