identitycache

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-api-export-identity-provider"

	ConfigMapName = "apiexport-identity-cache"
)

Variables

This section is empty.

Functions

func NewApiExportIdentityProviderController

func NewApiExportIdentityProviderController(
	kubeClusterClient kcpkubernetesclientset.ClusterInterface,
	remoteShardApiExportInformer apisv1alpha1informers.APIExportClusterInformer,
	configMapInformer kcpcorev1informers.ConfigMapClusterInformer,
) (*controller, error)

NewApiExportIdentityProviderController returns a new api export identity provider controller.

The controller reconciles APIExports for the root APIs and maintains a config map in the system:shard logical cluster with identities per exports specified in the group or the group resources maps.

The config map is meant to be used by clients/informers to inject the identities for the given GRs when making requests to the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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