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

Add support for AWS China's different domain suffix #872

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hfinucane-zscaler
Copy link

Interestingly, this doesn't show up unless you are in "no copy" mode- it looks like in copy mode, k8s-image-mapper gets the docker URI from the authorization token, passes it through skopeo, and get it back, but where we're forced to generate the domain, we need a little extra magic.

If you have a copy policy that actually does copying, everything
works, the authorization tokens have the https://012345678910.dkr.ecr...
URL.

Unfortunately, that looks like it's the only way to ask the SDK to
generate a URL for you, so this won't do anything for anyone who
wants to use the other Special AWS Environment, govcloud, and wants
FIPS URLs.
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