Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ECR parsing regex to include non-public AWS partitions #835

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ngearhart
Copy link

@ngearhart ngearhart commented Dec 6, 2024

Resolves #832 and references https://github.com/awslabs/amazon-ecr-credential-helper/blob/69e8c24e6fc115fd00d7c363cde156570ce73144/ecr-login/api/client.go#L40.

Public AWS Documentation about hidden partitions (non-amazonaws.com or .com.cn) is limited. Read more about AWS partitions here.

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

@ngearhart ngearhart force-pushed the update-ecr-parsing branch 6 times, most recently from 5a82673 to 3647c40 Compare December 20, 2024 14:47
@ngearhart ngearhart changed the title Remove requirement for ECR URL to end in amazonaws.com or amazonaws.com.cn Update ECR parsing regex to include non-public AWS partitions Dec 20, 2024
oci/auth/aws/auth.go Outdated Show resolved Hide resolved
oci/auth/aws/auth_test.go Outdated Show resolved Hide resolved
@darkowlzz darkowlzz added the area/oci OCI related issues and pull requests label Dec 23, 2024
@ngearhart ngearhart force-pushed the update-ecr-parsing branch 3 times, most recently from 15301df to 53c5128 Compare December 26, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oci OCI related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS Provider for OCI Does not account for disconnected AWS partitions
3 participants