Skip to content

chore(aws-k8s): support authenticated dualstack ecr public pulls#4792

Open
mselim00 wants to merge 1 commit intobottlerocket-os:developfrom
mselim00:ecr-public
Open

chore(aws-k8s): support authenticated dualstack ecr public pulls#4792
mselim00 wants to merge 1 commit intobottlerocket-os:developfrom
mselim00:ecr-public

Conversation

@mselim00
Copy link

Issue number:

N/A, but related to

Description of changes:

This updates the default credential provider configuration to support authentication for ecr-public.aws.com, which is the dualstack endpoint for ECR public.

Though the version of the ecr-credential-provider included in the AMI may not support this authentication, or the node role may allow getting a public token, this is a safe change as kubelet always falls back to unauthenticated pulls if all credential providers fail. Releases are not yet cut with this change for 1.29-1.31, but the change is in their corresponding release branches.

Testing done:

This was previously tested by Yutong for IPv4: #4396 (comment)

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

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.

1 participant