GoogleCloudPlatform / k8s-multicluster-ingress

kubemci: Command line tool to configure L7 load balancers using multiple kubernetes clusters
Apache License 2.0
376 stars 68 forks source link

Add oauth authorization via an --access-token flag. #231

Open oceanful opened 4 years ago

oceanful commented 4 years ago

Discovery of Application Default Credentials requires private keys to be distributed and discovered via the GOOGLE_APPLICATION_CREDENTIALS environment variable. This change allows kubemci to accept an oauth --access-token as an alternative.

k8s-ci-robot commented 4 years ago

Hi @oceanful. Thanks for your PR.

I'm waiting for a GoogleCloudPlatform or kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.