We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a905f3c commit cf0ddfbCopy full SHA for cf0ddfb
utils/utils.go
@@ -67,12 +67,12 @@ func GetDNSDomain() string {
67
cname, err := net.LookupCNAME(svc)
68
if err != nil {
69
// If it cannot determine the domain, we default it to "cluster.local"
70
- klog.Infof("determined DNS Domain for cluster should be %q", dnsDomain)
+ klog.Infof("could not determine the domain, the DNS Domain for the cluster will default to %q", dnsDomain)
71
return dnsDomain
72
}
73
74
domain := strings.TrimPrefix(cname, svc)
75
- domain = strings.TrimSuffix(domain, ".")
+ domain = strings.TrimPrefix(domain, ".")
76
77
klog.Infof("determined DNS Domain for DNS should be %q", domain)
78
0 commit comments