mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
support specific namespace short dns resolve
This commit is contained in:
@@ -174,7 +174,7 @@ func main() {
|
||||
}
|
||||
//time.Sleep(time.Second * 5)
|
||||
dnsServiceIp := util.GetDNSServiceIpFromPod(clientset, restclient, config, util.TrafficManager, namespace)
|
||||
if err := dns.DNS(dnsServiceIp); err != nil {
|
||||
if err := dns.DNS(dnsServiceIp, namespace); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if runtime.GOOS == "windows" {
|
||||
|
||||
Reference in New Issue
Block a user