mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
commit
81b13a912c
@ -278,7 +278,7 @@ func getPodDNSType(pod *v1.Pod) (podDNSType, error) {
|
||||
if !kubecontainer.IsHostNetworkPod(pod) {
|
||||
return podDNSCluster, nil
|
||||
}
|
||||
// Fallback to DNSDefault for pod on hostnetowrk.
|
||||
// Fallback to DNSDefault for pod on hostnetwork.
|
||||
fallthrough
|
||||
case v1.DNSDefault:
|
||||
return podDNSHost, nil
|
||||
|
Loading…
Reference in New Issue
Block a user