Skip to content

Commit

Permalink
Set selector for headless service of a HostPort ingress (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Dec 28, 2017
1 parent 3080c1c commit e89ad35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ingress/hostport.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ func (c *hostPortController) newService() *core.Service {
Type: core.ServiceTypeClusterIP,
ClusterIP: "None",
Ports: []core.ServicePort{},
Selector: c.Ingress.OffshootLabels(),
ExternalIPs: c.Ingress.Spec.ExternalIPs,
},
}
Expand Down

0 comments on commit e89ad35

Please sign in to comment.