Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GCP (GKE) authentication plugin #625

Merged
merged 1 commit into from
Apr 10, 2019
Merged

Conversation

donbowman
Copy link
Contributor

Need to enable specific auth plugins for stolonctl to work outside cluster.

Resolves #623 #623

This commit adds just GCP, but we should consider adding all.

See
example

Signed-off-by: Don Bowman don@agilicus.com

Need to enable specific auth plugins for stolonctl
to work outside cluster.

This commit adds just GCP, but we should consider adding all.

See
[example](https://github.com/kubernetes/client-go/blob/master/examples/out-of-cluster-client-configuration/main.go)

Signed-off-by: Don Bowman <don@agilicus.com>
@donbowman
Copy link
Contributor Author

i don't believe that failure in the consul test is due to my change

@sgotti
Copy link
Member

sgotti commented Mar 28, 2019

@donbowman Thanks for your PR! Yeah, I think we could just add all the clients.

@donbowman
Copy link
Contributor Author

my go knowledge isn't strong enough to overcome the dependency hell that is its various module systems in order to import the azure.

kubernetes/apimachinery#46

I would recommend merging this PR so that GCP works, or maybe you know how to update the client-go in such a way it works w/ azurerest.

@sgotti
Copy link
Member

sgotti commented Apr 10, 2019

@donbowman I'll merge this and then prepare a follow up PR to add all the auth plugins. Thanks!

@sgotti sgotti merged commit 27795d6 into sorintlab:master Apr 10, 2019
@sgotti sgotti added this to the v0.14.0 milestone Apr 19, 2019
@sgotti sgotti modified the milestone: v0.14.0 Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot create kubernetes client: No Auth Provider found for name "gcp"
2 participants