mirror of https://github.com/kubernetes/kops.git
Merge pull request #9815 from rifelpet/fix-gce-private
Fix GCE cluster creation with private topology
This commit is contained in:
commit
5b80bb8147
|
|
@ -856,9 +856,10 @@ func setupTopology(opt *NewClusterOptions, cluster *api.Cluster, allZones sets.S
|
|||
continue
|
||||
}
|
||||
subnet := api.ClusterSubnetSpec{
|
||||
Name: "utility-" + s.Name,
|
||||
Zone: s.Zone,
|
||||
Type: api.SubnetTypeUtility,
|
||||
Name: "utility-" + s.Name,
|
||||
Zone: s.Zone,
|
||||
Type: api.SubnetTypeUtility,
|
||||
Region: s.Region,
|
||||
}
|
||||
if subnetID, ok := zoneToSubnetProviderID[s.Zone]; ok {
|
||||
subnet.ProviderID = subnetID
|
||||
|
|
|
|||
Loading…
Reference in New Issue