Role Binding

RoleBinding describes the roles that the subject have in Kalm system.

For example, the following RoleBinding configuration sets the user: [email protected] as clusterOwner:

apiVersion: core.kalm.dev/v1alpha1
kind: RoleBinding
metadata:
name: cluster-rolebinding-e06ee4322400e9905e8aa917bc384ef9
namespace: kalm-system
spec:
role: clusterOwner
subjectType: user

RoleBinding

NameTypeDescriptionRequired
subjectstringsubject that is binding to roleTrue
subjectTypestringtype of subject, can be: user and group.True
rolestringthe role that this subject is binding to, can be: viewer, editor, owner, clusterViewer, clusterEditor and clusterOwner.True
creatorstringCreator of this bindingTrue
expiredAt*metav1.TimeExpire time of this key. Infinity if blankFalse
Last updated on by Liu Mingmin