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