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

Bug fix - No Auth Provider found for name "gcp" #58

Merged
merged 4 commits into from
Sep 5, 2022

Conversation

dormullor
Copy link

Description of your changes

When using the provider-kubernetes with GKE i'm getting the following error:

cannot create new Kubernetes client: cannot create Kubernetes client: no Auth Provider found for name "gcp"

According to this issue - kubernetes/client-go#242
we need to import _ "k8s.io/client-go/plugin/pkg/client/auth" module to get it work.

Same import exist in the helm-provider

Fixes #

I have:

  • [ V] Read and followed Crossplane's contribution process.
  • [V ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Tested on local kind cluster & GKE cluster using identity object in the provider-config

@morningspace
Copy link
Collaborator

LGMT

@morningspace morningspace merged commit 745d752 into crossplane-contrib:main Sep 5, 2022
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.

3 participants