Repository navigation
feat(hokusai): bump aws-iam-authenticator 0.4.0 -> 0.7.22 - #178
Merged
Merged
Conversation
3 tasks
zapraum
marked this pull request as ready for review
October 20, 2026 19:50
zapraum
requested review from
a team and
narikazu
and removed request for
narikazu
October 20, 2026 19:51
ovasdi
approved these changes
Oct 20, 2026
ovasdi
left a comment
Contributor
There was a problem hiding this comment.
Good idea to verify via sandbox deploy that it still works before merging, given how many apps this affects. 👍
narikazu
self-requested a review
October 21, 2026 09:14
narikazu
approved these changes
Oct 21, 2026
Member
There was a problem hiding this comment.
LGTM!
We have a sandbox app for experimenting with Hokusai. You can use it to test this change if you want.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
install-aws-iam-authenticatorinstalls aws-iam-authenticator 0.4.0 (2019). That version only emitsclient.authentication.k8s.io/v1alpha1ExecCredentials. Support forv1beta1starts at 0.5.5.The shared kubeconfigs in
s3://artsy-citadel/k8s/still usev1alpha1. Current clients such as kubectl 1.24+ and k9s 0.51 rejectv1alpha1(exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"). Those kubeconfigs can't move tov1beta1while CI runs 0.4.0. kubectl would reject the token withexec plugin is configured to use API version v1beta1, plugin returned version v1alpha1, and every deploy would fail.Solution
linux_amd64binary toartsy-provisioning-public, next to the existing 0.4.0 binary, and point the defaulturiat it:https://artsy-provisioning-public.s3.amazonaws.com/aws-iam-authenticator_0.7.22_linux_amd64The binary is unchanged from the v0.7.22 release. I checked it against
authenticator_0.7.22_checksums.txtbefore uploading, and checked the public S3 download again afterwards. SHA-256:8dd446886d6f48019362b0b9b1a2f605589923d35faf506d7c53e8c8eeffbe650.7.22 returns whichever ExecCredential version kubectl asks for through
KUBERNETES_EXEC_INFO. The currentv1alpha1kubeconfigs should keep working, so this change shouldn't affect deploys on its own.Tested locally with 0.7.22 against
kubernetes-production-dracoandkubernetes-staging-leo(both v1.23.17) using av1beta1kubeconfig. I haven't tested it in CircleCI yet.Alternatives considered
artsy/hokusaiDockerfile does. I kept the self-hosted copy so CI doesn't depend on GitHub release URLs, matching how 0.4.0 was set up.To-dos
artsy/hokusai@volatile, so this rolls out to all of them on publish.Follow-up (not in this PR)
Once this and the hokusai image ship, the S3 kubeconfigs move to
v1beta1, the staleprod-blue/pictor entries (left over from substance#279) get removed, and thehokusai.ymlkubectl pin goes from 1.19.16 to 1.24.x.config-cichanges last.Assisted-by: Claude Opus 5.5