RedisEnterpriseClusterRoleBinding API Reference
| Redis Enterprise for Kubernetes |
|---|
apiVersion:
app.redislabs.com/v1alpha1
RedisEnterpriseClusterRoleBinding binds users to a RedisEnterpriseClusterRole. It grants the users the cluster access defined by that role.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | app.redislabs.com/v1alpha1 | true |
| kind | string | RedisEnterpriseClusterRoleBinding | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the `metadata` field. | true |
| spec | object |
RedisEnterpriseRoleBindingSpec defines the desired state of a RedisEnterpriseClusterRoleBinding or RedisEnterpriseRoleBinding. |
false |
| status | object |
RedisEnterpriseRoleBindingStatus defines the observed state of a RedisEnterpriseClusterRoleBinding or RedisEnterpriseRoleBinding. |
false |
spec
RedisEnterpriseRoleBindingSpec defines the desired state of a RedisEnterpriseClusterRoleBinding or RedisEnterpriseRoleBinding.
| Name | Type | Description | Required |
|---|---|---|---|
| roleRef | object |
RoleRef holds a reference to the role object being bound. For RedisEnterpriseClusterRoleBinding, this references a RedisEnterpriseClusterRole in the same namespace (kind RedisEnterpriseClusterRole or empty) or an internal Redis Enterprise role by name (kind 'role'). For RedisEnterpriseRoleBinding, this references a RedisEnterpriseRole in the same namespace (kind RedisEnterpriseRole or empty) or an internal Redis Enterprise role by name (kind 'role'). |
true |
| subjects | []object |
Subjects holds references to the objects the role applies to. Each subject is a reference to a RedisEnterpriseUser object within the same namespace. The 'kind' field can be left empty, or set to RedisEnterpriseUser. A maximum of 100 subjects may be specified; to bind more, create additional bindings referencing the same role. Validations: |
false |
spec.roleRef
RoleRef holds a reference to the role object being bound. For RedisEnterpriseClusterRoleBinding, this references a RedisEnterpriseClusterRole in the same namespace (kind RedisEnterpriseClusterRole or empty) or an internal Redis Enterprise role by name (kind 'role'). For RedisEnterpriseRoleBinding, this references a RedisEnterpriseRole in the same namespace (kind RedisEnterpriseRole or empty) or an internal Redis Enterprise role by name (kind 'role').
| Name | Type | Description | Required |
|---|---|---|---|
| name | string |
Name of the referent. |
true |
| kind | enum |
Kind of the referent. Enum: , RedisEnterpriseClusterRole, role |
false |
spec.subjects[]
A reference to another object.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string |
Name of the referent. |
true |
| kind | enum |
Kind of the referent. Enum: , RedisEnterpriseUser |
false |