Skip to content

Commit 753b4cd

Browse files
committed
Update variable name and fix linting error
1 parent 32cd2fe commit 753b4cd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

internal/controller/linodemachine_controller_helpers.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ func getVPCInterfaceConfig(ctx context.Context, machineScope *scope.MachineScope
445445
if subnetID == 0 {
446446
logger.Info("Failed to fetch subnet ID for specified subnet name")
447447
}
448-
449448
} else {
450449
subnetID = linodeVPC.Spec.Subnets[0].SubnetID // get first subnet if nothing specified
451450
}

templates/addons/ccm-linode/ccm-linode.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
valuesTemplate: |
1818
routeController:
1919
vpcNames: {{ .InfraCluster.spec.vpcRef.name }}
20-
clusterCIDR: ${K8S_SERVICE_CIDR:=10.0.0.0/8}
20+
clusterCIDR: ${VPC_NETWORK_CIDR:=10.0.0.0/8}
2121
configureCloudRoutes: true
2222
secretRef:
2323
name: "linode-token-region"

templates/addons/cilium/cilium.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
enabled: true
2020
routingMode: native
2121
kubeProxyReplacement: true
22-
ipv4NativeRoutingCIDR: ${K8S_SERVICE_CIDR:=10.0.0.0/8}
22+
ipv4NativeRoutingCIDR: ${VPC_NETWORK_CIDR:=10.0.0.0/8}
2323
tunnelProtocol: ""
2424
enableIPv4Masquerade: true
2525
policyAuditMode: ${FW_AUDIT_ONLY:=true}

0 commit comments

Comments
 (0)