metadata: clarify networking variables

This commit is contained in:
Leonard Cohnen 2022-10-26 00:27:40 +02:00 committed by 3u13r
parent 0430336fdf
commit b69d19c3d6
3 changed files with 9 additions and 6 deletions

View file

@ -120,7 +120,7 @@ func (k *KubeWrapper) InitCluster(
nodeName = k8sCompliantHostname(instance.Name)
providerID = instance.ProviderID
nodeIP = instance.VPCIP
subnetworkPodCIDR = instance.SubnetworkCIDR
subnetworkPodCIDR = instance.SecondaryIPRange
if len(instance.AliasIPRanges) > 0 {
nodePodCIDR = instance.AliasIPRanges[0]