RedisEnterpriseClusterRole API Reference
| Redis Enterprise for Kubernetes |
|---|
apiVersion:
app.redislabs.com/v1alpha1
RedisEnterpriseClusterRole is a cluster role definition. It grants users cluster-scoped access across the Redis Enterprise Cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | app.redislabs.com/v1alpha1 | true |
| kind | string | RedisEnterpriseClusterRole | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the `metadata` field. | true |
| spec | object |
RedisEnterpriseClusterRoleSpec defines the desired state of a RedisEnterpriseClusterRole. |
false |
| status | object |
RedisEnterpriseRoleStatus defines the observed state of a Redis Enterprise role object. This status type is used by both RedisEnterpriseClusterRole and RedisEnterpriseRole which share the same status structure. |
false |
spec
RedisEnterpriseClusterRoleSpec defines the desired state of a RedisEnterpriseClusterRole.
| Name | Type | Description | Required |
|---|---|---|---|
| acl | object |
ACL defines the data access permissions granted by this cluster role.
Users with this role can access any database in the Redis Enterprise Cluster,
subject to the permissions granted by the referenced ACL.
References a RedisEnterpriseACL (kind RedisEnterpriseACL or empty) or an
internal Redis Enterprise ACL by name (kind 'redis_acl'). |
false |
| managementRole | enum |
ManagementRole is the named set of Redis Enterprise management permissions assigned to this cluster role. If omitted, the role uses the None management role. Enum: Admin, ClusterMember, ClusterViewer, DBMember, DBViewer, UserManager, None |
false |
spec.acl
ACL defines the data access permissions granted by this cluster role. Users with this role can access any database in the Redis Enterprise Cluster, subject to the permissions granted by the referenced ACL. References a RedisEnterpriseACL (kind RedisEnterpriseACL or empty) or an internal Redis Enterprise ACL by name (kind 'redis_acl').
| Name | Type | Description | Required |
|---|---|---|---|
| name | string |
Name of the referent. |
true |
| kind | enum |
Kind of the referent. Enum: , RedisEnterpriseACL, redis_acl |
false |
status
RedisEnterpriseRoleStatus defines the observed state of a Redis Enterprise role object. This status type is used by both RedisEnterpriseClusterRole and RedisEnterpriseRole which share the same status structure.
| Name | Type | Description | Required |
|---|---|---|---|
| observedGeneration | integer |
The most recent generation of this resource that was observed and acted upon by the controller. Format: int64 |
false |
| uid | string |
The internal UID of the Role object defined in the Redis Enterprise Cluster. |
false |