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