syncclusterrolebinding

package
v1.0.0-2021-10-05-22-0... Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

This controller apply clusterset related clusterrolebinding based on clustersetToClusters and clustersetAdminToSubject map

func NewReconciler

func NewReconciler(kubeClient kubernetes.Interface,
	clusterSetAdminCache *cache.AuthCache,
	clusterSetViewCache *cache.AuthCache,
	clustersetToClusters *helpers.ClusterSetMapper) Reconciler

func (*Reconciler) Run

func (r *Reconciler) Run(period time.Duration)

Run a routine to sync the clusterrolebinding periodically.

Jump to

Keyboard shortcuts

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