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

Specifying versions causes issues #23

Closed
Rambatino opened this issue May 5, 2022 · 4 comments
Closed

Specifying versions causes issues #23

Rambatino opened this issue May 5, 2022 · 4 comments

Comments

@Rambatino
Copy link

Hello, running into a couple of issues. One when specifying versions I get:

image

The other is:

Using kubectl version: Client Version: v1.24.0
Kustomize Version: v4.5.4
Using aws-iam-authenticator version: {"Version":"0.5.7","Commit":"2a9ee95fecab59fab41a0b646a63227d66113434"}
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

I'm gonna guess by the actions that you may be trying to fix one or both of these? But just thought I'd raise it in case I'm going something wrong.

@raalzate
Copy link

raalzate commented May 6, 2022

Dude, the problem is solved by adding the following environment variables:

KUBECTL_VERSION: "v1.22.0"
IAM_VERSION: "0.5.6"

@iambenkay
Copy link

iambenkay commented May 6, 2022

This is probably the root cause. kubernetes-sigs/aws-iam-authenticator#439

Use older version of I am tool. Use IAM_VERSION: "0.5.5"

@iranthau
Copy link

Dude, the problem is solved by adding the following environment variables:

KUBECTL_VERSION: "v1.22.0" IAM_VERSION: "0.5.6"

Yes. Thanks.

@pwilczynskiclearcode
Copy link

export IAM_VERSION=0.5.7 solved the issue for me

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

No branches or pull requests

6 participants