mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00:00
Pull credentials from fleet for all clusters (#2647)
All clusters have switched to using private APIs.
This commit is contained in:
@@ -33,13 +33,7 @@ while read line
|
||||
do
|
||||
parts=(${line})
|
||||
echo "Updating cluster ${parts[0]} in location ${parts[1]}..."
|
||||
if [[ ${environment} == "crash" ]]
|
||||
then
|
||||
gcloud container fleet memberships get-credentials "${parts[0]}" --project "${project}"
|
||||
else
|
||||
gcloud container clusters get-credentials "${parts[0]}" \
|
||||
--project "${project}" --location "${parts[1]}"
|
||||
fi
|
||||
for service in frontend backend pubapi console
|
||||
do
|
||||
sed s/GCP_PROJECT/"${project}"/g "./kubernetes/nomulus-${service}.yaml" | \
|
||||
|
||||
Reference in New Issue
Block a user