-
Notifications
You must be signed in to change notification settings - Fork 4.5k
aws eks update-kubeconfig invalid apiVersion #6920
Copy link
Copy link
Closed
Labels
Description
Describe the bug
Update kubectl from v1.23.6 to 1.24.0 and run commands
aws eks update-kubeconfig --name ${EKS_CLUSTER_NAME} --region ${REGION}
kubectl versionI get the following error and exit status 1
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
Kubectl must need an updated apiVersion in kubeconfig file. Not sure if this is on aws side or kubectl side.
kubernetes/kubectl#1210
Expected Behavior
No error message when using kubectl and aws eks update-kubeconfig
Current Behavior
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
Reproduction Steps
Update kubectl from v1.23.6 to 1.24.0 and run commands
aws eks update-kubeconfig --name ${EKS_CLUSTER_NAME} --region ${REGION}
kubectl versionPossible Solution
No response
Additional Information/Context
No response
CLI version used
whatever is running in aws/codebuild/standard:5.0
Environment details (OS name and version, etc.)
aws/codebuild/standard:5.0
Reactions are currently unavailable