mirror of https://github.com/kubernetes/kops.git
Cleanup kops-controller Route53 record during cluster deletion
This commit is contained in:
parent
1885ccee17
commit
c28c4c728d
|
|
@ -1855,7 +1855,7 @@ func ListRoute53Records(cloud fi.Cloud, clusterName string) ([]*resources.Resour
|
|||
|
||||
remove := false
|
||||
// TODO: Compute the actual set of names?
|
||||
if prefix == ".api" || prefix == ".api.internal" || prefix == ".bastion" {
|
||||
if prefix == ".api" || prefix == ".api.internal" || prefix == ".bastion" || prefix == ".kops-controller.internal" {
|
||||
remove = true
|
||||
} else if strings.HasPrefix(prefix, ".etcd-") {
|
||||
remove = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue