RedisEnterpriseRoleBinding API Reference

Redis Enterprise for Kubernetes

apiVersion:

app.redislabs.com/v1alpha1

RedisEnterpriseRoleBinding binds users to a RedisEnterpriseRole. It grants the users the scoped access defined by that role.

Name Type Description Required
apiVersion string app.redislabs.com/v1alpha1 true
kind string RedisEnterpriseRoleBinding 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

↩ Parent

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:
  • self.all(s1, self.exists_one(s2, (has(s1.kind) && s1.kind != '' ? s1.kind : 'RedisEnterpriseUser') == (has(s2.kind) && s2.kind != '' ? s2.kind : 'RedisEnterpriseUser') && s1.name == s2.name)) : subjects must be unique by kind and name
  • false

    spec.roleRef

    ↩ Parent

    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: , RedisEnterpriseRole, role
    false

    spec.subjects[]

    ↩ Parent

    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
    RATE THIS PAGE
    Back to top ↑