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> |
||
---|---|---|
.. | ||
image-reflector.md |