Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles Namespaces
func (*Reconciler) Reconcile ¶
Reconcile changes on Namespaces that may or may not have Packages managed RBAC labels.
Reconcile gets the Namespace with the requested namespace name with the management enabling label. When the label is found, we create matching clusterroles. When the label is not found, possibly removed, the namespace-persona clusterroles are deleted.
When a namespace is deleted, the clusterroles will be removed through garbage-collection using OwnerReferences.
Click to show internal directories.
Click to hide internal directories.