Skip to content

Commit

Permalink
Pull credentials from fleet for all clusters (#2647)
Browse files Browse the repository at this point in the history
All clusters have switched to using private APIs.
  • Loading branch information
jianglai authored Jan 22, 2025
1 parent e3c386a commit b775e4a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions jetty/deploy-nomulus-for-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
gcloud container fleet memberships get-credentials "${parts[0]}" --project "${project}"
for service in frontend backend pubapi console
do
sed s/GCP_PROJECT/"${project}"/g "./kubernetes/nomulus-${service}.yaml" | \
Expand Down

0 comments on commit b775e4a

Please sign in to comment.