From c28c4c728dc832c889c908ccdb7f794249781c08 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Wed, 3 Feb 2021 22:39:24 -0600 Subject: [PATCH] Cleanup kops-controller Route53 record during cluster deletion --- pkg/resources/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resources/aws/aws.go b/pkg/resources/aws/aws.go index 1eab6688fc..069bfde430 100644 --- a/pkg/resources/aws/aws.go +++ b/pkg/resources/aws/aws.go @@ -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