Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
func AddToManager(operatorCancel context.CancelFunc, mgr manager.Manager, cfg *operatorconfigv1alpha1.OperatorConfiguration, gardenClientMap clientmap.ClientMap) error
AddToManager adds all controllers to the given manager.
func TargetNamespaceForTokenRequestorController ¶
func TargetNamespaceForTokenRequestorController() tokenrequestor.TargetDefaultNamespaceFn
TargetNamespaceForTokenRequestorController returns a function that determines the target namespace for the TokenRequestor controller based on whether the cluster is a seed cluster or not. If it is a seed cluster, it computes the garden namespace based on the seed name; otherwise, it returns the default garden namespace. TODO(timuthy): Drop the default namespace handling after Gardener v1.162 has been released.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.