Skip to content

Store checksum of ImageRepository tags and trigger ImagePolicy watch only when it changes #780

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

Merged
merged 1 commit into from
Jun 22, 2025

Conversation

matheuscscp
Copy link
Member

@matheuscscp matheuscscp commented Jun 1, 2025

Closes #778

There's already a field called .spec.lastScanResult with other information about the scan that is pretty close to revision (e.g. tagCount, latestTags), so I figured it would make more sense to put the revision inside it as well.

@matheuscscp matheuscscp added enhancement New feature or request area/api API related issues and pull requests labels Jun 1, 2025
@matheuscscp matheuscscp requested a review from stefanprodan June 21, 2025 08:04
@matheuscscp matheuscscp requested a review from stefanprodan June 21, 2025 14:40
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @matheuscscp 🏅

@matheuscscp matheuscscp merged commit 05a6e55 into main Jun 22, 2025
6 checks passed
@matheuscscp matheuscscp deleted the feat-778 branch June 22, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add .status.revision field to ImageRepository
2 participants