rbacfinalizerdeletion

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

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.

Jump to

Keyboard shortcuts

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