Skip to content

feat(hokusai): bump aws-iam-authenticator 0.4.0 -> 0.7.22 - #178

Merged
zapraum merged 2 commits into
mainfrom
zapraum/bump-aws-iam-authenticator
Oct 22, 2026
Merged

zapraum merged 2 commits into
mainfrom
zapraum/bump-aws-iam-authenticator

Conversation

@zapraum

@zapraum zapraum commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Problem

install-aws-iam-authenticator installs aws-iam-authenticator 0.4.0 (2019). That version only emits client.authentication.k8s.io/v1alpha1 ExecCredentials. Support for v1beta1 starts at 0.5.5.

The shared kubeconfigs in s3://artsy-citadel/k8s/ still use v1alpha1. Current clients such as kubectl 1.24+ and k9s 0.51 reject v1alpha1 (exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"). Those kubeconfigs can't move to v1beta1 while CI runs 0.4.0. kubectl would reject the token with exec plugin is configured to use API version v1beta1, plugin returned version v1alpha1, and every deploy would fail.

Solution

  • Upload the upstream 0.7.22 linux_amd64 binary to artsy-provisioning-public, next to the existing 0.4.0 binary, and point the default uri at it:
    https://artsy-provisioning-public.s3.amazonaws.com/aws-iam-authenticator_0.7.22_linux_amd64
  • Bump the orb version header to 0.27.0.

The binary is unchanged from the v0.7.22 release. I checked it against authenticator_0.7.22_checksums.txt before uploading, and checked the public S3 download again afterwards. SHA-256:
8dd446886d6f48019362b0b9b1a2f605589923d35faf506d7c53e8c8eeffbe65

0.7.22 returns whichever ExecCredential version kubectl asks for through KUBERNETES_EXEC_INFO. The current v1alpha1 kubeconfigs should keep working, so this change shouldn't affect deploys on its own.

Tested locally with 0.7.22 against kubernetes-production-draco and kubernetes-staging-leo (both v1.23.17) using a v1beta1 kubeconfig. I haven't tested it in CircleCI yet.

Alternatives considered

  • Download directly from the GitHub release, as the artsy/hokusai Dockerfile does. I kept the self-hosted copy so CI doesn't depend on GitHub release URLs, matching how 0.4.0 was set up.
  • 0.7.23 is the newest release, but it came out on 2026-10-20. I chose 0.7.22, which is the version tested above.

To-dos

Follow-up (not in this PR)

Once this and the hokusai image ship, the S3 kubeconfigs move to v1beta1, the stale prod-blue/pictor entries (left over from substance#279) get removed, and the hokusai.yml kubectl pin goes from 1.19.16 to 1.24.x. config-ci changes last.

Assisted-by: Claude Opus 5.5

@zapraum
zapraum marked this pull request as ready for review October 20, 2026 19:50
@zapraum
zapraum requested review from a team and narikazu and removed request for narikazu October 20, 2026 19:51

@ovasdi ovasdi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to verify via sandbox deploy that it still works before merging, given how many apps this affects. 👍

@narikazu
narikazu self-requested a review October 21, 2026 09:14

@narikazu narikazu left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

We have a sandbox app for experimenting with Hokusai. You can use it to test this change if you want.

@zapraum
zapraum merged commit e0bd07f into main Oct 22, 2026
5 checks passed
@zapraum
zapraum deleted the zapraum/bump-aws-iam-authenticator branch October 22, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants