canonical / cluster-api-control-plane-provider-microk8s

This project offers a cluster API control plane controller that manages the control plane of a MicroK8s cluster. It is expected to be used along with the respective MicroK8s specific machine bootstrap provider.
https://microk8s.io
7 stars 5 forks source link

Cleanup cluster CA, kubeconfig and jointoken on delete #24

Closed neoaggelos closed 2 years ago

neoaggelos commented 2 years ago

When tearing down cluster, delete the kubeconfig, ca and jointoken secrets, as they are now leftover in the cluster.