Skip to content

Commit

Permalink
cli: allow internal lb on azure
Browse files Browse the repository at this point in the history
We don't use konnectivity anymore. Therefore, we can enable internal
using an internal load balancer on azure.
  • Loading branch information
3u13r committed Nov 16, 2023
1 parent 183ce7a commit 7548354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -834,8 +834,8 @@ func (c *Config) Validate(force bool) error {
}

if c.InternalLoadBalancer {
if c.GetProvider() != cloudprovider.AWS && c.GetProvider() != cloudprovider.GCP {
return &ValidationError{validationErrMsgs: []string{"internalLoadBalancer is only supported for AWS and GCP"}}
if c.GetProvider() != cloudprovider.Azure && c.GetProvider() != cloudprovider.AWS && c.GetProvider() != cloudprovider.GCP {
return &ValidationError{validationErrMsgs: []string{"internalLoadBalancer is only supported for AWS, Azure, and GCP"}}
}
}

Expand Down

0 comments on commit 7548354

Please sign in to comment.