Skip to main content
ACLs are used to control fine-grained access policies of users to resources; and are validated, stored, and evaluated as an AccessPolicy resource in Omni. At the moment, only Kubernetes cluster access (group impersonation) is supported.

Structure

AccessPolicy

The AccessPolicy is a single resource containing a set of user groups, a set of cluster groups, a list of matching rules and a list of tests.

UserGroup

A UserGroup is a group of users.

User

A User is a single user.
Note: name, match and labelselectors are mutually exclusive. Only one of them can be set to a non-zero value.

ClusterGroup

A ClusterGroup is a group of clusters.

Cluster

A Cluster is a single cluster.
Note: name and match are mutually exclusive. Only one of them can be set to a non-zero value.

Rule

A Rule is a set of users, clusters and Kubernetes impersonation groups. The reserved prefix group/ is used to reference a user group in users or a cluster group in clusters.

Role

A Role is the role to grant to the user. Possible values: None, Reader, Operator, Admin.

Test

A Test is a single test case. Test cases are run when the resource is created or updated, and if any of them fail, the operation is rejected.

TestUser

A TestUser is the user identity to use in a test case.

TestCluster

A TestCluster is the cluster to use in a test case.

Expected

An Expected is the expected results of a test case.