Skip to content

improve: blacklist of problematic resources for previous version annotation #2774

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Apr 28, 2025

Signed-off-by: Attila Mészáros [email protected]

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 28, 2025
@csviri csviri changed the title feat: blacklist of problematic resources for previous version annotation improve: blacklist of problematic resources for previous version annotation Apr 28, 2025
@@ -448,6 +452,10 @@ default boolean previousAnnotationForDependentResourcesEventFiltering() {
return true;
}

default List<Class<? extends HasMetadata>> previousAnnotationUsageBlacklist() {
return List.of(Deployment.class, StatefulSet.class, ReplicaSet.class);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@shawkins do I remember correctly these are the ones you had issues with? thx!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Deployment and StatefulSet I believe are the ones we encounted problems with before. DaemonSet may need to be included as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thank you!

csviri added 3 commits April 28, 2025 14:47
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants