We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f28ec9f + bb420df commit 838b7caCopy full SHA for 838b7ca
scripts/wait-for-cluster.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-# Copyright 2018 Google LLC
+# Copyright 2019 Google LLC
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
@@ -15,6 +15,10 @@
15
16
set -e
17
18
+if [ -n "${GOOGLE_APPLICATION_CREDENTIALS}" ]; then
19
+ CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+fi
21
+
22
PROJECT=$1
23
CLUSTER_NAME=$2
24
gcloud_command="gcloud container clusters list --project=$PROJECT --format=json"
0 commit comments