File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/integration/cilium-nodesubnet Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -661,8 +661,6 @@ func main() {
661661 }
662662 if isManaged , ok := acn .GetArg (acn .OptManaged ).(bool ); ok && isManaged {
663663 config .ChannelMode = cns .Managed
664- } else if cnsconfig .ChannelMode == cns .AzureHost {
665- config .ChannelMode = cns .AzureHost
666664 }
667665
668666 homeAzMonitor := restserver .NewHomeAzMonitor (nmaClient , time .Duration (cnsconfig .AZRSettings .PopulateHomeAzCacheRetryIntervalSecs )* time .Second )
Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ func main() {
104104 for i := 2 ; i <= secondaryConfigCount + 1 ; i ++ {
105105 ipConfig := make (map [string ]interface {})
106106 for k , v := range primaryIPConfig {
107+ // only the primary config needs loadBalancerBackendAddressPools. Azure doesn't allow
108+ // secondary IP configs to be associated with pools that are used for load balancing.
107109 if k == "loadBalancerBackendAddressPools" {
108110 continue
109111 }
You can’t perform that action at this time.
0 commit comments