-
This is a numbered list.
-
I'm going to include a fenced code block as part of this bullet:
Code More Code
The instructions below apply to older versions of Homebrew which still provide switch
capability.
For current Homebrew, you'll likely need to keep Versions around, and build locally. Here's my versions repository https://github.com/rdump/homebrew-versions
MacPorts is now keeping versioned installations available as well, by default.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# Usage: ./get_all_gcp_cluster_creds.sh PROJECT1 [PROJECT2 ...] | |
for project in "$@" | |
do | |
echo "Getting cluster credentials for project $project" | |
gcloud container clusters list --project $project --format="table[no-heading](name,location)" | while read cluster location | |
do | |
gcloud container clusters get-credentials $cluster --project $project --region $location |