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

add GenerationChanged predicate filter to all resources #1993

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

cnvergence
Copy link
Member

@cnvergence cnvergence commented Oct 18, 2023

What type of PR is this?

What this PR does / why we need it:
Per review of #1938 (comment), it would be valuable to add GenerationChanged predicate to all resources, except Service and Deployment.
This skip events that have no change in the object Spec and only the metadata and/or status fields are changed.

@cnvergence cnvergence requested a review from a team as a code owner October 18, 2023 07:54
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #1993 (c16339a) into main (604a0fb) will decrease coverage by 0.03%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1993      +/-   ##
==========================================
- Coverage   65.51%   65.48%   -0.03%     
==========================================
  Files          92       92              
  Lines       13528    13549      +21     
==========================================
+ Hits         8863     8873      +10     
- Misses       4116     4126      +10     
- Partials      549      550       +1     
Files Coverage Δ
internal/provider/kubernetes/controller.go 54.02% <100.00%> (-0.11%) ⬇️

@cnvergence cnvergence force-pushed the add-generation-predicates branch from b6f3642 to b1680e5 Compare October 18, 2023 08:28
@cnvergence
Copy link
Member Author

/retest

1 similar comment
@cnvergence
Copy link
Member Author

/retest

@cnvergence cnvergence force-pushed the add-generation-predicates branch 2 times, most recently from c03edd4 to 2d37706 Compare October 18, 2023 14:05
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
@cnvergence cnvergence force-pushed the add-generation-predicates branch from 2d37706 to 08cd2d3 Compare October 18, 2023 14:10
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
arkodg
arkodg previously approved these changes Oct 18, 2023
Copy link
Contributor

@arkodg arkodg 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 !

@arkodg arkodg self-requested a review October 18, 2023 17:29
@arkodg arkodg self-requested a review October 18, 2023 17:37
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Copy link
Contributor

@arkodg arkodg 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 !

@arkodg arkodg requested review from a team, kflynn, zhaohuabing and chauhanshubham and removed request for a team October 18, 2023 19:35
@arkodg arkodg merged commit c8f358b into envoyproxy:main Oct 18, 2023
17 checks passed
@cnvergence cnvergence deleted the add-generation-predicates branch October 19, 2023 11:17
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

Successfully merging this pull request may close these issues.

3 participants