Skip to content

Commit b775e4a

Browse files
authored
Pull credentials from fleet for all clusters (#2647)
All clusters have switched to using private APIs.
1 parent e3c386a commit b775e4a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

jetty/deploy-nomulus-for-env.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,7 @@ while read line
3333
do
3434
parts=(${line})
3535
echo "Updating cluster ${parts[0]} in location ${parts[1]}..."
36-
if [[ ${environment} == "crash" ]]
37-
then
38-
gcloud container fleet memberships get-credentials "${parts[0]}" --project "${project}"
39-
else
40-
gcloud container clusters get-credentials "${parts[0]}" \
41-
--project "${project}" --location "${parts[1]}"
42-
fi
36+
gcloud container fleet memberships get-credentials "${parts[0]}" --project "${project}"
4337
for service in frontend backend pubapi console
4438
do
4539
sed s/GCP_PROJECT/"${project}"/g "./kubernetes/nomulus-${service}.yaml" | \

0 commit comments

Comments
 (0)