Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Do not append cluster.local to service DNS (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrynhard authored Sep 8, 2017
1 parent a8d81d9 commit 9fb5032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/watch/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9fb5032

Please sign in to comment.