We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21b92d6 commit 0ce03dbCopy full SHA for 0ce03db
cloud/scope/powervs_cluster.go
@@ -1297,7 +1297,7 @@ func (s *PowerVSClusterScope) createLoadBalancer(lb infrav1beta2.VPCLoadBalancer
1297
}
1298
1299
options.SetName(lb.Name)
1300
- options.SetIsPublic(true)
+ options.SetIsPublic(lb.Public)
1301
options.SetResourceGroup(&vpcv1.ResourceGroupIdentity{
1302
ID: &resourceGroupID,
1303
})
@@ -1361,7 +1361,7 @@ func (s *PowerVSClusterScope) createLoadBalancer(lb infrav1beta2.VPCLoadBalancer
1361
ID: loadBalancer.ID,
1362
State: lbState,
1363
Hostname: loadBalancer.Hostname,
1364
- ControllerCreated: pointer.Bool(lb.Public),
+ ControllerCreated: pointer.Bool(true),
1365
}, nil
1366
1367
0 commit comments