From 754835487b921f72fa2044c41d28747fd2f0ff3b Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Thu, 16 Nov 2023 14:50:50 +0100 Subject: [PATCH] cli: allow internal lb on azure We don't use konnectivity anymore. Therefore, we can enable internal using an internal load balancer on azure. --- internal/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 8c896583e9..f1fb5ae75d 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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"}} } }