Skip to content

Commit

Permalink
DO NOT MERGE - default to endpoints
Browse files Browse the repository at this point in the history
This is to flesh out endpointslices CI failures.
  • Loading branch information
frobware committed Jul 30, 2020
1 parent a25b686 commit a2e6e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/infra/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (o *RouterSelection) Bind(flag *pflag.FlagSet) {
flag.Bool("enable-ingress", false, "Enable configuration via ingress resources.")
flag.MarkDeprecated("enable-ingress", "Ingress resources are now synchronized to routes automatically.")
flag.StringVar(&o.ListenAddr, "listen-addr", env("ROUTER_LISTEN_ADDR", ""), "The name of an interface to listen on to expose metrics and health checking. If not specified, will not listen. Overrides stats port.")
flag.BoolVar(&o.WatchEndpoints, "watch-endpoints", isTrue(env("ROUTER_WATCH_ENDPOINTS", "")), "Watch Endpoints instead of the EndpointSlice resource.")
flag.BoolVar(&o.WatchEndpoints, "watch-endpoints", isTrue(env("ROUTER_WATCH_ENDPOINTS", "true")), "Watch Endpoints instead of the EndpointSlice resource.")
}

// RouteUpdate updates the route before it is seen by the cache.
Expand Down

0 comments on commit a2e6e2c

Please sign in to comment.