You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumps the version of k8s.io/client-go to a version beyond v1.26, triggering this deprecation, which broke our integration tests.
This is because the integration test relies on an auth provider to GCP that used to be a golang import, but is now an installed dependency that requires the test to be run in an environment that ran:
gcloud components install gke-gcloud-auth-plugin or
At least, that's the proper way to fix the test. In #266, I could not get the proper way to work because despite the test runner having access to the auth plugin, the test itself did not.
So I added the removed dependency as a hack (which is A VERY BAD WORKAROUND.)
See note in relevant file.
Ideally the test runner should be able to be injected with the above dependency.
The text was updated successfully, but these errors were encountered:
I spent some time looking at the repro in #268 but could not find anything out. I agree the plugin is installed.
For reference, if trying the "old" way e.g. as suggested in kubernetes/client-go#242, and add the import
_ "k8s.io/client-go/plugin/pkg/client/auth"
it fails at runtime with Creating the kubernetes client set failed: The gcp auth plugin has been removed. Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin instead.
it fails at runtime with Creating the kubernetes client set failed: The gcp auth plugin has been removed. Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin instead.
Description
This PR:
Bumps the version of
k8s.io/client-go
to a version beyond v1.26, triggering this deprecation, which broke our integration tests.This is because the integration test relies on an auth provider to GCP that used to be a golang import, but is now an installed dependency that requires the test to be run in an environment that ran:
gcloud components install gke-gcloud-auth-plugin
orsudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
At least, that's the proper way to fix the test. In #266, I could not get the proper way to work because despite the test runner having access to the auth plugin, the test itself did not.
So I added the removed dependency as a hack (which is A VERY BAD WORKAROUND.)
See note in relevant file.
Ideally the test runner should be able to be injected with the above dependency.
The text was updated successfully, but these errors were encountered: