Error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

image
Hi Guys, recently I’m facing this issue in the azure DevOps release pipeline. Not sure how to fix this.

1 Like

There is a current issue opened on the aws cli.

Temporary solutions and examples are available on the github issue:
aws eks update-kubeconfig invalid apiVersion

1 Like

Using kubectl 1.21.9 fixed it for me, with asdf:

asdf plugin-add kubectl https://github.com/asdf-community/asdf-kubectl.git
asdf install kubectl 1.21.9

And I would recommend having a .tools-versions file with:

kubectl 1.21.9
1 Like

Hi!
I have the same problem with the version 1.24
did you manage to solve it?