rbacfinalizerdeletion

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

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.

Jump to

Keyboard shortcuts

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