-
Notifications
You must be signed in to change notification settings - Fork 457
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
Make gwctl work with Policies having multiple targetRefs #3196
Comments
Can I assign it to myself? I want to try it |
Hi @deszhou, sure go ahead, though there's a few minor open questions here which may need to be ironed out. Like for example what exactly would the following output:
Would be nice if you can give a sample of what you have in mind before diving deep |
Which of these two output formats do you think is better for |
Let's choose the "comma-separated one" which is consistent with others. Let's just display 2 targets and then +n more pattern. Though the other one also seems good but we can revisit this later. |
/assign |
@gauravkghildiyal we should transfer this over to the gwctl repository as well. |
As per recent updates to the Policy related GEPs in #2927 (comment), Policies are now allowed to target multiple resources i.e.
targetRefs
(which previously was limited to a singletargetRef
).Make gwctl work with this new pattern. Common places that need to be updated include:
gwctl get policies
gateway-api/gwctl/pkg/policymanager/manager.go
Lines 277 to 303 in 28e4080
/area gwctl
/kind feature
The text was updated successfully, but these errors were encountered: