Documentation
¶
Index ¶
Constants ¶
View Source
const (
ClustersetFinalizerName string = "open-cluster-management.io/clusterset"
)
Variables ¶
This section is empty.
Functions ¶
func SetupWithManager ¶
Types ¶
type CleanGarbageFinalizer ¶
type CleanGarbageFinalizer struct {
// contains filtered or unexported fields
}
In 2.2.X, we add the finalier for some clusterrole(have admin permission to clusterset) In 2.3, the finalizer is not needed, so we need to clean these finalizers to handle upgrade case.
func NewCleanGarbageFinalizer ¶
func NewCleanGarbageFinalizer(kubeClient kubernetes.Interface) *CleanGarbageFinalizer
func (*CleanGarbageFinalizer) Run ¶
func (c *CleanGarbageFinalizer) Run(stopCh <-chan struct{})
start a routine to sync the clusterrolebinding periodically.
Click to show internal directories.
Click to hide internal directories.