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( roleInformer rbacv1informers.RoleInformer, roleBindingInformer rbacv1informers.RoleBindingInformer, namespaceLister corelisters.NamespaceLister, clusterLister clusterv1listers.ManagedClusterLister, manifestWorkLister worklister.ManifestWorkLister, rbacClient rbacv1client.RbacV1Interface, eventRecorder events.Recorder, ) factory.Controller
NewFinalizeController ensures all manifestworks are deleted before role/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.