Skip to content

Commit

Permalink
Added option to accept client certificate..kubernetes/kubernetes#30617
Browse files Browse the repository at this point in the history
  • Loading branch information
RangaSamudrala committed Jul 6, 2020
1 parent 26fbda4 commit d3cc172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
global:
- SHA=$(git rev-parse HEAD)
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
- CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=1

before_install:
# Below openSSL command is obtained when encrypting the service-account.json file using travis CLI
Expand All @@ -14,6 +15,7 @@ before_install:
- curl https://sdk.cloud.google.com | bash > /dev/null
- source $HOME/google-cloud-sdk/path.bash.inc
- gcloud components update kubectl
- gcloud config set container/use_client_certificate True
- gcloud auth activate-service-account --key-file service-account.json
- gcloud config set project multi-k8s-275217
- gcloud config set compute/zone us-central1-a
Expand Down

0 comments on commit d3cc172

Please sign in to comment.