clusterrolebinding

package
v1.22.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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, contour *model.Contour) error

EnsureClusterRoleBinding ensures a ClusterRoleBinding resource with the provided name exists, using roleRef for the role reference, svcAct for the subject and the contour namespace/name for the owning contour labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL