Skip to content

Commit 169dd10

Browse files
author
johnbedeir
committed
update-build-script
1 parent e9b64e1 commit 169dd10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ cd ..
8585
echo "--------------------Wait before updating kubeconfig--------------------"
8686
sleep 60s
8787

88+
# Get GCP credentials
89+
echo "--------------------Get Credentials--------------------"
90+
gcloud iam service-accounts keys create ${filename} --iam-account ${service_account_email}
91+
8892
# Update kubeconfig
8993
echo "--------------------Update Kubeconfig--------------------"
9094
gcloud container clusters get-credentials ${cluster_name} --zone ${zone} --project ${project_id}

0 commit comments

Comments
 (0)