Skip to content

Commit

Permalink
WIP: Allow kubenet with private topology ... but might not be safe
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Jul 4, 2023
1 parent acbc81c commit 9adca66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upup/pkg/fi/cloudup/new_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1180,9 +1180,9 @@ func setupTopology(opt *NewClusterOptions, cluster *api.Cluster, allZones sets.S
}

case api.TopologyPrivate:
if cluster.Spec.Networking.Kubenet != nil {
return nil, fmt.Errorf("invalid networking option %s. Kubenet does not support private topology", opt.Networking)
}
// if cluster.Spec.Networking.Kubenet != nil {
// return nil, fmt.Errorf("invalid networking option %s. Kubenet does not support private topology", opt.Networking)
// }
cluster.Spec.Networking.Topology = &api.TopologySpec{
ControlPlane: api.TopologyPrivate,
Nodes: api.TopologyPrivate,
Expand Down

0 comments on commit 9adca66

Please sign in to comment.