Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureControllerRoleBinding ¶ added in v1.28.0
func EnsureControllerRoleBinding(ctx context.Context, cli client.Client, name, svcAct, role string, contour *model.Contour) error
EnsureControllerRoleBinding ensures a RoleBinding resource exists with the provided ns/name and using contour namespace/name for the owning contour labels. The RoleBinding will use svcAct for the subject and role for the role reference.
func EnsureRoleBindingsInNamespaces ¶ added in v1.28.0
func EnsureRoleBindingsInNamespaces(ctx context.Context, cli client.Client, name, svcAct, role string, contour *model.Contour, namespaces []string) error
EnsureRoleBindingsInNamespaces ensures a set of RoleBinding resources exist with the provided namespaces/contour-resource-<name> and using contour namespace/name for the owning contour labels. The RoleBindings will use same 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.