Skip to content

Authn policy's TargetSelector support for subset  #5486

@quanjielin

Description

@quanjielin

authN policy's TargetSelector has subset property defined in proto but not been used in the code now. Policy dark launch may need the authn policy subset field to take effect to align with VirtualService.http.mirror.subset

Current behavior:

  1. create a VirtualService which contains two subset v1, v2; v2 is only for traffic mirroring.
  2. apply an authN policy only on subset v2.
  3. send traffic to the service, got resp code 401, expected 200.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions