Skip to content

Commit 1308662

Browse files
committed
review fixes
1 parent 06d1bd9 commit 1308662

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/controller/cloudscalemachine_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ func (r *CloudscaleMachineReconciler) buildInterfaceRequests(machineScope *scope
295295
}
296296
firstNetwork := machineScope.CloudscaleCluster.Status.Networks[0]
297297
return &[]cloudscalesdk.InterfaceRequest{
298-
{Network: firstNetwork.NetworkID},
299298
{Network: InterfaceTypePublic},
299+
{Network: firstNetwork.NetworkID},
300300
}, nil, nil
301301
}
302302

templates/cluster-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
region: "${CLOUDSCALE_REGION}"
4040
networks:
4141
- name: "${CLUSTER_NAME}"
42-
cidr: "10.100.0.0/24"
42+
cidr: "10.0.0.0/24"
4343
gatewayAddress: "" # disable gateway, use public interface for internet access
4444
credentialsRef:
4545
name: "${CLUSTER_NAME}-credentials"

0 commit comments

Comments
 (0)