aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.21k stars 320 forks source link

[ECR] [request]: Pull through cache for self-hosted Gitlab instances #2457

Open joshsizer opened 1 day ago

joshsizer commented 1 day ago

Community Note

Tell us about your request Currently, AWS ECR supports authenticated pull through cache for registry.gitlab.com, however it does not support self-hosted Gitlab instances. For customers who self-host Gitlab, using ECR as a pull through cache is impossible.

Which service(s) is this request for? ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? For security and compliance reasons, we prefer to give clients access to our ECR registry, rather than our self-hosted Gitlab registry.

Are you currently working around this issue? Currently, we have to maintain custom automation to push new images into ECR and to create ECR repositories. We would like to have the features of an ECR pull through cache connected to a self-hosted Gitlab instance.

Additional context In general, I don't understand why AWS restricts pull-through cache to specific hosts. As far as I can tell, as long as a registry is conforming to the oci distribution spec, AWS should have a standard interface for authenticating and pulling images from a vast array of registries.

joshsizer commented 1 day ago

Relates to https://github.com/aws/containers-roadmap/issues/1584