Skip to content

Commit

Permalink
Add kubernetes provider type
Browse files Browse the repository at this point in the history
Synonym to provider `none`, to be used for blue/green deployments
  • Loading branch information
stefanprodan committed Jun 20, 2019
1 parent 63cb8a5 commit f92d59b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/router/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func (factory *Factory) KubernetesRouter(label string, ports *map[string]int32)
func (factory *Factory) MeshRouter(provider string) Interface {
switch {
case provider == "none":
case provider == "kubernetes":
return &NopRouter{}
case provider == "nginx":
return &IngressRouter{
Expand Down

0 comments on commit f92d59b

Please sign in to comment.