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
Upgrade the API version from client.authentication.k8s.io/v1alpha1 to client.authentication.k8s.io/v1beta1. The API version is referenced here and used by the aws-iam-authenticator version currently used in the AMI - 0.5.0. More details below.
Why is this needed
The alpha API version is no longer supported in Kubernetes version 1.24.
aws-iam-authenticator Note
This change requires upgrading the aws-iam-authenticator to 0.5.9 or any version with this commit. After upgrading the API version, you'll see the following error if the aws-iam-authenticator is not upgraded as well:
getting credentials: exec plugin is configured to use API version client.authentication.k8s.io/v1beta1, plugin returned version client.authentication.k8s.io/v1alpha1
If you're building your own AMI and not vending the aws-iam-authenticator from the EKS buckets, you'll need to update it. As of 9/14/2022, the 0.5.0 authenticator is stored in the binary buckets, but we'll update that as part of resolving this issue.
Future Improvement:
This PR makes a change that would allow us to remove the dependency on the aws-iam-authenticator entirely by using the AWS CLI to call aws eks get-token instead of calling the authenticator. However, as of 9/14/2022, the AmazonLinux yum repos use an older version of the AWS CLI that doesn't include this change, which is required for resolving this issue. Once the CLI is updated, we should be able to remove the dependency altogether.
The text was updated successfully, but these errors were encountered:
What would you like to be added
Upgrade the API version from
client.authentication.k8s.io/v1alpha1
toclient.authentication.k8s.io/v1beta1
. The API version is referenced here and used by the aws-iam-authenticator version currently used in the AMI -0.5.0
. More details below.Why is this needed
The alpha API version is no longer supported in Kubernetes version 1.24.
aws-iam-authenticator
NoteThis change requires upgrading the aws-iam-authenticator to
0.5.9
or any version with this commit. After upgrading the API version, you'll see the following error if theaws-iam-authenticator
is not upgraded as well:If you're building your own AMI and not vending the
aws-iam-authenticator
from the EKS buckets, you'll need to update it. As of 9/14/2022, the0.5.0
authenticator is stored in the binary buckets, but we'll update that as part of resolving this issue.Future Improvement:
This PR makes a change that would allow us to remove the dependency on the
aws-iam-authenticator
entirely by using the AWS CLI to callaws eks get-token
instead of calling the authenticator. However, as of 9/14/2022, the AmazonLinux yum repos use an older version of the AWS CLI that doesn't include this change, which is required for resolving this issue. Once the CLI is updated, we should be able to remove the dependency altogether.The text was updated successfully, but these errors were encountered: