Skip to content

provider: add missing predicates #5698

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
Apr 10, 2025
Merged

provider: add missing predicates #5698

merged 1 commit into from
Apr 10, 2025

Conversation

zirain
Copy link
Member

@zirain zirain commented Apr 9, 2025

xref: #5695

@zirain zirain requested a review from a team as a code owner April 9, 2025 14:09
Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.25%. Comparing base (6abe036) to head (e3b9216).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5698      +/-   ##
==========================================
- Coverage   65.26%   65.25%   -0.02%     
==========================================
  Files         213      213              
  Lines       34111    34104       -7     
==========================================
- Hits        22263    22254       -9     
- Misses      10507    10508       +1     
- Partials     1341     1342       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -1225,8 +1225,7 @@ func (r *gatewayAPIReconciler) watchResources(ctx context.Context, mgr manager.M

// Watch Gateway CRUDs and reconcile affected GatewayClass.
gPredicates := []predicate.TypedPredicate[*gwapiv1.Gateway]{
predicate.Or(predicate.TypedGenerationChangedPredicate[*gwapiv1.Gateway]{},
predicate.TypedLabelChangedPredicate[*gwapiv1.Gateway]{}),
metadataPredicate[*gwapiv1.Gateway](),
Copy link
Contributor

Choose a reason for hiding this comment

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

is annotation changed, needed for gw as well ?

Copy link
Member Author

Choose a reason for hiding this comment

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

prefer to keep them consitants.

@arkodg arkodg merged commit 17d346e into envoyproxy:main Apr 10, 2025
25 checks passed
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