crossplane

package
v0.42.3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crossplane

type Crossplane struct {
	ClusterRoleController *controller.Controller
	NamespaceController   *controller.Controller
}

func NewCrossplane

func NewCrossplane(config CrossplaneConfig) (*Crossplane, error)

func (*Crossplane) Boot added in v0.42.2

func (c *Crossplane) Boot(ctx context.Context) error

type CrossplaneConfig

type CrossplaneConfig struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger

	CustomerAdminGroups                 []accessgroup.AccessGroup
	CustomerReaderGroups                []accessgroup.AccessGroup
	CrossplaneBindTriggeringClusterRole string
}

type CrossplaneNamespace added in v0.42.2

type CrossplaneNamespace struct {
	*controller.Controller
}

func NewCrossplaneNamespace added in v0.42.2

func NewCrossplaneNamespace(config CrossplaneNamespaceConfig) (*CrossplaneNamespace, error)

type CrossplaneNamespaceConfig added in v0.42.2

type CrossplaneNamespaceConfig struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger

	CustomerAdminGroups                 []accessgroup.AccessGroup
	CrossplaneBindTriggeringClusterRole string
}

Directories

Path Synopsis
resource
crossplaneauth
crossplane package is responsible for setting up RBAC required by crossplane's rbac-manager.
crossplane package is responsible for setting up RBAC required by crossplane's rbac-manager.
crossplanenamespace
crossplanenamespace package handles updating the crossplane-edit ClusterRoleBinding when new org namespaces are created or deleted, ensuring their automation ServiceAccounts have the necessary crossplane permissions.
crossplanenamespace package handles updating the crossplane-edit ClusterRoleBinding when new org namespaces are created or deleted, ensuring their automation ServiceAccounts have the necessary crossplane permissions.

Jump to

Keyboard shortcuts

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