-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
area/replicationneeds/follow-upreplication/adaptersrelated to replication adaptersrelated to replication adapters
Description
Is your feature request related to a problem? Please describe.
Currently you can add any endpoint that matches the following regex:
ecrPattern = "https://(?:api|(\\d+)\\.dkr)\\.ecr(\\-fips)?\\.([\\w\\-]+)\\.(amazonaws\\.com(\\.cn)?|sc2s\\.sgov\\.gov|c2s\\.ic\\.gov)"
source: src/pkg/reg/adapter/awsecr/adapter.go
This unfortunately excludes the public mirrors such as ecr-public.REGION.amazonaws.com
.
As I'm wanting to mirror this specifically but am unable to, I'd love to add it to the regex.
Describe the solution you'd like
Update regex so it allows you to submit ecr-public.us-east-1.amazonaws.com
for example.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
area/replicationneeds/follow-upreplication/adaptersrelated to replication adaptersrelated to replication adapters