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, globalAPIExportInformer 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.
Click to show internal directories.
Click to hide internal directories.