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

incompatibility issue between AWS ECR pull-through repo and ECR admission webhook #3

Open
pasitconsulting opened this issue Oct 8, 2024 · 0 comments

Comments

@pasitconsulting
Copy link

pasitconsulting commented Oct 8, 2024

by default the AWS ECR pull-through solution doesnt set immutability or scan on push on the cached ECR repos it implicitly creates.
This means in any namespace where we have a tag 'ecr-compliance' set to enabled the admission webhook enforces criteria which the AWS ECR pull-through solution doesnt comply with.

i attempted a workaround of creating my own ECR repo with immutability and push-on-scan set, with upstream images (from docker.io/gcr.io) pushed.
When i scale a workload that pulls from this manually created repo i get the following error:-
Error creating: Internal error occurred: failed calling webhook "admission.ecr.amazonaws.com": failed to call webhook: an error on the server ("unknown") has prevented the request from succeeding

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

No branches or pull requests

1 participant