We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened:
When implementing GatewayAPI, I noticed the selector field on a Gateway.Spec.Listener[x].Routes.Selector (https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.RouteBindingSelector) is currently not a pointer, but nice if it was to know if the field has been provided or not by a user.
selector
I’m using the LabelSelectorAsSelector method from api-machinery to then use labels.Matches(…), but LabelsSelectorAsSelector takes a pointer to the Selector.
LabelsSelectorAsSelector
//cc @danehans
The text was updated successfully, but these errors were encountered:
/assign
Sorry, something went wrong.
api: Update Gateway.Spec.Listener[x].Routes.Selector to be a pointer
8d748b6
Fixes kubernetes-sigs#571 Signed-off-by: Steve Sloka <[email protected]>
837108d
stevesloka
Successfully merging a pull request may close this issue.
What happened:
When implementing GatewayAPI, I noticed the
selector
field on a Gateway.Spec.Listener[x].Routes.Selector (https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.RouteBindingSelector) is currently not a pointer, but nice if it was to know if the field has been provided or not by a user.I’m using the LabelSelectorAsSelector method from api-machinery to then use labels.Matches(…), but
LabelsSelectorAsSelector
takes a pointer to the Selector.//cc @danehans
The text was updated successfully, but these errors were encountered: