diff --git a/control_plane/cleanup.sh b/control_plane/cleanup.sh index 93bcf6f..d560b46 100644 --- a/control_plane/cleanup.sh +++ b/control_plane/cleanup.sh @@ -16,6 +16,6 @@ kubectl config delete-user "admin@$cluster_name" || true talosctl config remove "$cluster_name" || true # Remove files -rm -rf "${HOME}/.talos/clusters/${cluster_name}" || truec +sudo rm -rf "${HOME}/.talos/clusters/${cluster_name}" || truec echo "Cleanup completed for cluster: $cluster_name" \ No newline at end of file