mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-12 11:42:20 -04:00
10 lines
238 B
Bash
Executable file
10 lines
238 B
Bash
Executable file
#!/bin/bash
|
|
|
|
projects=$(gcloud projects list | tail -n +2 | awk '{ print $1}');
|
|
|
|
for x in $projects;
|
|
do
|
|
project_json=$(gcloud container clusters list --project $x --format json)
|
|
echo $project_json | jq -e -r '.[] | .endpoint'
|
|
done
|
|
|