File tree Expand file tree Collapse file tree 7 files changed +31
-7
lines changed
beta-private-cluster/scripts
beta-private-cluster-update-variant/scripts
beta-public-cluster/scripts
private-cluster-update-variant/scripts Expand file tree Collapse file tree 7 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2018 Google LLC
2
+ # Copyright 2019 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
15
15
16
16
set -e
17
17
18
+ if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+ fi
21
+
18
22
PROJECT=$1
19
23
CLUSTER_NAME=$2
20
24
gcloud_command=" gcloud container clusters list --project=$PROJECT --format=json"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2018 Google LLC
2
+ # Copyright 2019 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
15
15
16
16
set -e
17
17
18
+ if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+ fi
21
+
18
22
PROJECT=$1
19
23
CLUSTER_NAME=$2
20
24
gcloud_command=" gcloud container clusters list --project=$PROJECT --format=json"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2018 Google LLC
2
+ # Copyright 2019 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
15
15
16
16
set -e
17
17
18
+ if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+ fi
21
+
18
22
PROJECT=$1
19
23
CLUSTER_NAME=$2
20
24
gcloud_command=" gcloud container clusters list --project=$PROJECT --format=json"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2018 Google LLC
2
+ # Copyright 2019 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
15
15
16
16
set -e
17
17
18
+ if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+ fi
21
+
18
22
PROJECT=$1
19
23
CLUSTER_NAME=$2
20
24
gcloud_command=" gcloud container clusters list --project=$PROJECT --format=json"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2018 Google LLC
2
+ # Copyright 2019 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
15
15
16
16
set -e
17
17
18
+ if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+ fi
21
+
18
22
PROJECT=$1
19
23
CLUSTER_NAME=$2
20
24
gcloud_command=" gcloud container clusters list --project=$PROJECT --format=json"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2018 Google LLC
2
+ # Copyright 2019 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
15
15
16
16
set -e
17
17
18
+ if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
+ fi
21
+
18
22
PROJECT=$1
19
23
CLUSTER_NAME=$2
20
24
gcloud_command=" gcloud container clusters list --project=$PROJECT --format=json"
Original file line number Diff line number Diff line change 16
16
set -e
17
17
18
18
if [ -n " ${GOOGLE_APPLICATION_CREDENTIALS} " ]; then
19
- CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
19
+ export CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
20
20
fi
21
21
22
22
PROJECT=$1
You can’t perform that action at this time.
0 commit comments