rbac

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileRbac

func ReconcileRbac(ctx context.Context, h *helper.Helper, instance Reconciler, rules []rbacv1.PolicyRule) (ctrl.Result, error)

ReconcileRbac - configures the serviceaccount, role, and role binding for the Reconciler instance

Types

type Reconciler

type Reconciler interface {
	// RbacConditionsSet - set the conditions on the instance
	RbacConditionsSet(c *condition.Condition)

	// RbacNamespace - return a string representing the namespace
	RbacNamespace() string

	// RbacResourceName - name of the resource to be used in the rbac resources (service, role, rolebinding))
	RbacResourceName() string
}

Reconciler - interface for rbac reconcilers

Jump to

Keyboard shortcuts

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