https://pulumi.com logo
Title
l

lively-helmet-97905

05/12/2022, 7:22 PM
Hello, I need some help. Im getting this error with Github actions:
getting credentials: exec plugin is configured to use API version <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>, plugin returned version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
Any walkaround of how to solve this ?
p

polite-napkin-90098

05/12/2022, 9:14 PM
I think this is the issue where you need to downgrade kubectl to match your server version
l

lively-helmet-97905

05/12/2022, 9:21 PM
Im using eks 1.18, so, I need to install kubectl 1.18 ?
s

sparse-park-68967

05/14/2022, 7:14 PM
Apologies for the issues here. A fix has been merged and v0.40.0 release is underway which should include a fix to address this.
Essentially kubectl v1.24.0 removed the API version for client.authentication.k8s.io/v1alpha1. If you use a slightly older kubectl you could get around it (1.23.6). 0.40.0 should allow it to work with the latest aws-cli