Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentRoleBinding ¶
func CurrentRoleBinding(ctx context.Context, cli client.Client, ns, name string) (*rbacv1.RoleBinding, error)
CurrentRoleBinding returns the current RoleBinding for the provided ns/name.
func EnsureRoleBinding ¶
func EnsureRoleBinding(ctx context.Context, cli client.Client, name, svcAct, role string, Sesame *operatorv1alpha1.Sesame) error
EnsureRoleBinding ensures a RoleBinding resource exists with the provided ns/name and sesame namespace/name for the owning sesame labels. The RoleBinding will use svcAct for the subject and role for the role reference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.