siderolabs / cluster-api-provider-talos

A cluster-api provider for deploying Talos clusters.
https://www.talos-systems.com
Mozilla Public License 2.0
9 stars 4 forks source link

fix: don't delete cluster resources if machines exist #15

Closed rsmitty closed 5 years ago

rsmitty commented 5 years ago

This PR will close #6. Before deleting a cluster resource, we now take a look at the machine list and filter down by the cluster label. If there are machines that belong to that cluster, we throw an error so that users will be forced to delete the machine resources before carrying out their cluster delete.

rsmitty commented 5 years ago

Also sneaks a link to the AWS getting started doc into the main README.