mirror of https://github.com/kubernetes/kops.git
Remove additional bastion role if created
This commit is contained in:
parent
1981f42e69
commit
0d53f41f5c
|
|
@ -1903,6 +1903,7 @@ func ListIAMRoles(cloud fi.Cloud, clusterName string) ([]*ResourceTracker, error
|
|||
remove["bastions."+clusterName] = true
|
||||
remove["additional.nodes."+clusterName] = true
|
||||
remove["additional.masters."+clusterName] = true
|
||||
remove["additional.bastions."+clusterName] = true
|
||||
|
||||
var roles []*iam.Role
|
||||
// Find roles matching remove map
|
||||
|
|
@ -1983,6 +1984,7 @@ func ListIAMInstanceProfiles(cloud fi.Cloud, clusterName string) ([]*ResourceTra
|
|||
remove["bastions."+clusterName] = true
|
||||
remove["additional.nodes."+clusterName] = true
|
||||
remove["additional.masters."+clusterName] = true
|
||||
remove["additional.bastions."+clusterName] = true
|
||||
|
||||
var profiles []*iam.InstanceProfile
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue