Skip to content

Commit 6b48eae

Browse files
committed
Stop pulling aws-iam-authenticator binary
1 parent da91c80 commit 6b48eae

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

templates/al2023/provisioners/install-worker.sh

-11
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ S3_PATH="s3://$BINARY_BUCKET_NAME/$KUBERNETES_VERSION/$KUBERNETES_BUILD_DATE/bin
170170

171171
BINARIES=(
172172
kubelet
173-
aws-iam-authenticator
174173
)
175174
for binary in ${BINARIES[*]}; do
176175
if [[ -n "$AWS_ACCESS_KEY_ID" ]]; then
@@ -187,16 +186,6 @@ for binary in ${BINARIES[*]}; do
187186
sudo mv $binary /usr/bin/
188187
done
189188

190-
# Verify that the aws-iam-authenticator is at last v0.5.9 or greater. Otherwise, nodes will be
191-
# unable to join clusters due to upgrading to client.authentication.k8s.io/v1beta1
192-
iam_auth_version=$(sudo /usr/bin/aws-iam-authenticator version | jq -r .Version)
193-
if vercmp "$iam_auth_version" lt "v0.5.9"; then
194-
# To resolve this issue, you need to update the aws-iam-authenticator binary. Using binaries distributed by EKS
195-
# with kubernetes_build_date 2022-10-31 or later include v0.5.10 or greater.
196-
echo "❌ The aws-iam-authenticator should be on version v0.5.9 or later. Found $iam_auth_version"
197-
exit 1
198-
fi
199-
200189
# Since CNI 0.7.0, all releases are done in the plugins repo.
201190
CNI_PLUGIN_FILENAME="cni-plugins-linux-${ARCH}-${CNI_PLUGIN_VERSION}"
202191

0 commit comments

Comments
 (0)