This just implements the recommendation by @stevendborrelli. Which fixes the issue of Cluster Objects not being deleted within ArgoCD, when the Cluster Resource is deleted.
[X] Run make reviewable test to ensure this PR is ready for review.
How has this code been tested
I ran make build and deployed the provider in a cluster with crossplane deployed.
A Cluster resource was created and I verified that it was created successfully using argocd cluster list and by viewing the status of kubectl get clusters then deleted the resource and verified that it was deleted in argocd using the same argocd cluster list command.
Description of your changes
This just implements the recommendation by @stevendborrelli. Which fixes the issue of Cluster Objects not being deleted within ArgoCD, when the Cluster Resource is deleted.
Fixes #87
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
I ran
make build
and deployed the provider in a cluster with crossplane deployed. A Cluster resource was created and I verified that it was created successfully usingargocd cluster list
and by viewing the status ofkubectl get clusters
then deleted the resource and verified that it was deleted in argocd using the sameargocd cluster list
command.