linkerd2/policy-controller
Oliver Gould f9dda71856
policy: Index authorization policies with no authentications (#8865)
In 1a0c1c31 we updated the admission controller to allow
`AuthorizationPolicy` resources with an empty
`requiredAuthenticationRefs`. But we did NOT update the indexer, so we
would allow these resources to be created but then fail to honor them in
the API.

To fix this:

1. The `AuthorizationPolicy` admission controller is updated to exercise
   the indexer's validation so that it is impossible to admit resources
   that will be discarded by the indexer;
2. An e2e test is added to exercise this configuration;
3. The indexer's validation is updated to accept resources with no
   authentications.

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-07-13 11:42:23 -07:00
..
core Introduce AuthorizationPolicy CRDs (#8007) 2022-03-30 12:26:45 -07:00
grpc policy: Set a `group` label (#8628) 2022-06-07 15:55:56 -07:00
k8s policy: Index authorization policies with no authentications (#8865) 2022-07-13 11:42:23 -07:00
src policy: Index authorization policies with no authentications (#8865) 2022-07-13 11:42:23 -07:00
.dockerignore Import the linkerd-policy-controller (#6485) 2021-08-11 12:56:12 -07:00
Cargo.toml rust: Update kube to v0.74 (#8841) 2022-07-11 12:49:38 -07:00
amd64.dockerfile Update to Rust v1.60 (#8286) 2022-04-19 14:25:54 -07:00
arm.dockerfile Update to Rust v1.60 (#8286) 2022-04-19 14:25:54 -07:00
arm64.dockerfile Update to Rust v1.60 (#8286) 2022-04-19 14:25:54 -07:00