controller

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package controller contains options specific to rbac controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagementPolicy

type ManagementPolicy string

The ManagementPolicy specifies which roles the RBAC manager should manage.

const (
	// ManagementPolicyAll indicates that all RBAC manager functionality should
	// be enabled.
	ManagementPolicyAll ManagementPolicy = "All"

	// ManagementPolicyBasic indicates that basic RBAC manager functionality
	// should be enabled. The RBAC manager will create ClusterRoles for each
	// XRD. The ClusterRoles it creates will aggregate to the core Crossplane
	// ClusterRoles (e.g. crossplane, crossplane-admin, etc).
	ManagementPolicyBasic ManagementPolicy = "Basic"
)

type Options

type Options struct {
	controller.Options

	// ManagementPolicy specifies which roles the RBAC manager should
	// manage.
	ManagementPolicy ManagementPolicy

	// AllowClusterRole is used to determine what additional RBAC
	// permissions may be granted to Providers that request them. The
	// provider may request any permission that appears in the named role.
	AllowClusterRole string

	// DefaultRegistry used by the package manager to pull packages. Must match
	// the package manager's DefaultRegistry in order for the RBAC manager to be
	// able to determine whether two packages are part of the same registry and
	// org.
	DefaultRegistry string
}

Options specific to rbac controllers.

Jump to

Keyboard shortcuts

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