Closed naimadswdn closed 1 month ago
Just faced the same issue, do we have any workarounds to be implemented here?
Hi @naimadswdn, @jakubramut,
Thank you for bringing up this, could you please share with us clear reproduction steps with used MRs?
It's caused by the ordering when deleting resources, you'll need to delete the user assigned identity last, after the roleassignment for private dns zone contributer using the beta Usages feature in crossplane 1.14
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale
. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale
. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
This issue is being closed since there has been no activity for 14 days since marking it as stale
. If you still need help, feel free to comment or reopen the issue!
What happened?
Private Kubernetes Cluster creation with Bring Your Own DNS does not clean up A record after destruction. Similar issue was affecting Terraform azurerm_kubernetes_cluster resource but it has been fixed with proper dependency setup.
How can we reproduce it?
Resources to create (it can be done separately or as a part of one Composition)
privatelink.<region>.azmk8s.io
)Network Contributor
on the Vnet where AKS node pool subnet is located,Private DNS Zone Contributor
on your own Private DNS zone,After the creation, you can see that A record has been added to the Private DNS zone with the private IP.
Now, remove the Kubernetes Cluster and all the resources besides Private DNS zone. The A record will stay and will prevent creation of the AKS with the same name with the same Private DNS zone.
Its a big blocker especially with environments with centralized DNS (where Private DNS zone is created upfront and is not part of the AKS composition).
What environment did it happen in?