What is the issue?
Linkerd version edge-2026.2.1 admission webhook webhook linkerd-policy-validator.linkerd.io prevents HTTPRoute object with filter type CORS to be created.
How can it be reproduced?
Try to create HTTPRoute with filter type CORS.
Logs, error output, etc
for: "STDIN": error when patching "STDIN": admission webhook "linkerd-policy-validator.linkerd.io" denied the request: unknown variant `CORS`, expected one of `RequestHeaderModifier`, `ResponseHeaderModifier`, `RequestMirror`, `RequestRedirect`, `URLRewrite`, `ExtensionRef`
output of linkerd check -o short
Status check results are √
Environment
- EKS version 1.33
- Linkerd version edge-2026.2.
- gateway api experimental 1.4.0
Possible solution
Maybe something like https://github.com/linkerd/linkerd2/pull/14844/changes can be applied here.
Additional context
No response
Would you like to work on fixing this bug?
None