-
Notifications
You must be signed in to change notification settings - Fork 679
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
internal/dag: Watch namespaces from k8s api #3402
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3402 +/- ##
==========================================
+ Coverage 75.24% 75.25% +0.01%
==========================================
Files 98 98
Lines 6531 6546 +15
==========================================
+ Hits 4914 4926 +12
- Misses 1509 1512 +3
Partials 108 108
|
I think informer caches would make this much simpler, but thought we could add that later. This would let us use internal label queries and not loop over the internal caches, but think it's a good spot for a tech debt update if someone wanted to pick it up. // #2683 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one tiny nit, otherwise looks good.
The RouteBindingSelector in Gateway API has an option to only process routes which exist in a namespace based upon a selector defined in the Gateway. Updates projectcontour#3401 Signed-off-by: Steve Sloka <slokas@vmware.com>
Signed-off-by: Steve Sloka <slokas@vmware.com>
273c7a8
to
b58e891
Compare
The RouteBindingSelector in Gateway API has an option to only process routes which exist
in a namespace based upon a selector defined in the Gateway.
When "Selector" is chosen then only Routes in namespaces selected by the selector may be used by this Gateway (https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.RouteSelectType).
Added release note action label since this updates RBAC permissions, but only needed if Gateway APIs are present.
Updates #3401
Signed-off-by: Steve Sloka slokas@vmware.com