Skip to content

Commit

Permalink
fix(app/toggle): make toggle to localhost more durable
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveRuble committed Apr 10, 2020
1 parent e7ac19d commit dfec5a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/bosun/app_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ func (a *AppDeploy) RouteToLocalhost(ctx BosunContext, namespace string) error {

svc.Spec.ClusterIP = ""
svc.Spec.Type = "ExternalName"
svc.Spec.Selector = nil
svc.Spec.Ports = []v1.ServicePort{
{
Port: int32(internalPort),
Expand Down

0 comments on commit dfec5a6

Please sign in to comment.