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

ECR repository policy is not consistently created or updated #8485

Open
salomatu opened this issue Dec 22, 2022 · 0 comments
Open

ECR repository policy is not consistently created or updated #8485

salomatu opened this issue Dec 22, 2022 · 0 comments

Comments

@salomatu
Copy link

Summary

jx-registry has a feature to ensure AWS ECR repository policy is set. However, the policy does not update or is not being set consistently.

Expected behavior

When ECR repository policy does not exist or it differs from the policy supplied to the invocation of jx-registry, the policy is always added or updated respectively.

Actual behavior

ECR repository policy is only added or updated either when the repository did not previously exist, the repository did not have a lifecycle policy or when CREATE_ECR_LIFECYCLE_POLICY is disabled.

Comment

Notably, the actions related to, settings of or state of the lifecycle policy affects actions related to the repository policy.

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