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.
sparse-park-68967
05/14/2022, 7:15 PM
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