Skip to content

Commit

Permalink
Merge pull request #14455 from johngmyers/ipv6-private
Browse files Browse the repository at this point in the history
Need to setup topology before control plane for IPv6 private topology
  • Loading branch information
k8s-ci-robot authored Oct 26, 2022
2 parents 3687b8a + d33551c commit e4cd6b5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions upup/pkg/fi/cloudup/new_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,16 @@ func NewCluster(opt *NewClusterOptions, clientset simple.Clientset) (*NewCluster
return nil, err
}

err = setupNetworking(opt, &cluster)
if err != nil {
return nil, err
}

bastions, err := setupTopology(opt, &cluster, allZones)
if err != nil {
return nil, err
}

masters, err := setupMasters(opt, &cluster, zoneToSubnetMap)
if err != nil {
return nil, err
Expand Down Expand Up @@ -373,16 +383,6 @@ func NewCluster(opt *NewClusterOptions, clientset simple.Clientset) (*NewCluster
return nil, err
}

err = setupNetworking(opt, &cluster)
if err != nil {
return nil, err
}

bastions, err := setupTopology(opt, &cluster, allZones)
if err != nil {
return nil, err
}

err = setupAPI(opt, &cluster)
if err != nil {
return nil, err
Expand Down

0 comments on commit e4cd6b5

Please sign in to comment.