Documentation ¶
Overview ¶
package rbacfinalizerdeletion contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFinalizeController ¶
func NewFinalizeController( roleBindingLister rbacv1listers.RoleBindingLister, namespaceInformer corev1informers.NamespaceInformer, clusterInformer informerv1.ManagedClusterInformer, manifestWorkLister worklister.ManifestWorkLister, rbacClient rbacv1client.RbacV1Interface, eventRecorder events.Recorder, ) factory.Controller
NewFinalizeController ensures all manifestworks are deleted before rolebinding for work agent are deleted in a terminating cluster namespace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.