linkerd / linkerd2

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
https://linkerd.io
Apache License 2.0
10.63k stars 1.28k forks source link

Expand tests to account for audit access policy #12847

Closed alpeb closed 2 months ago

alpeb commented 3 months ago

Followup to #12846, branched off alpeb/policy-audit-impl

This fixes the policy controller unit and integration tests by accounting for the new Audit default policy and the new accessPolicy field in Server.

New integration tests added:

Please check linkerd/website#1805 for how this is supposed to work from the user's perspective.