Skip to content

Admission webhook "linkerd-policy-validator.linkerd.io" denied the request: unknown variant CORS #14986

@say5

Description

@say5

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

  1. EKS version 1.33
  2. Linkerd version edge-2026.2.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions