mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 21:15:26 +00:00
actually delete clusters in new CI job to remove orphaned GKE clusters
This commit is contained in:
@@ -58,7 +58,7 @@ if [[ ${#clusters_to_remove[@]} -eq 0 ]]; then
|
||||
echo "No old orphaned GKE clusters found to remove."
|
||||
else
|
||||
echo "Removing ${#clusters_to_remove[@]} GKE clusters(s) which are older than $hours_ago_to_delete hours in $CLUSTER_ZONE: ${clusters_to_remove[*]} ..."
|
||||
echo Would run command: gcloud container clusters delete --zone "${CLUSTER_ZONE}" --quiet ${clusters_to_remove[*]}
|
||||
gcloud container clusters delete --zone "${CLUSTER_ZONE}" --quiet ${clusters_to_remove[*]}
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user