From 9fb50328e89d641d15a9ed34d251db3495ca52ad Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Thu, 7 Sep 2017 22:53:30 -0700 Subject: [PATCH] Do not append cluster.local to service DNS (#52) --- pkg/watch/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/watch/service/service.go b/pkg/watch/service/service.go index f8a37cefa..f221fddd7 100644 --- a/pkg/watch/service/service.go +++ b/pkg/watch/service/service.go @@ -139,7 +139,7 @@ func (w *Watcher) args(service *v1.Service, category string) []types.DeviceOptio } func fmtServiceName(service *v1.Service) string { - return service.Name + "." + service.Namespace + ".svc.cluster.local" + return service.Name + "." + service.Namespace + ".svc" } func fmtServiceDisplayName(service *v1.Service) string {