image-reflector-controller/docs/api
Michael Bridgen 42aa8ed657 Use fluxcd/pkg/{apis,runtime}/acl for ACLs
This commit replaces the local ACL-related API types, and the func for
checking access, with their standarised forms in fluxcd/pkg/apis/acl
and fluxcd/pkg/runtime/acl respectively.

The test case for "When the ACL is empty, it denies access" needed
adjustment because the zero value of acl.AccessFrom is not valid -- it
needs an explicit list of namespace selectors. Providing `nil` in the
test case is the equivalent of providing a zero value.

Signed-off-by: Michael Bridgen <michael@weave.works>
2022-01-27 17:20:27 +00:00
..
image-reflector.md Use fluxcd/pkg/{apis,runtime}/acl for ACLs 2022-01-27 17:20:27 +00:00