Documentation ¶
Index ¶
Constants ¶
View Source
const ( RolebindingName = "namespace-admin" RoleRefKind = "ClusterRole" RoleRefName = "kyma-namespace-admin" SubjectStaticUser = "namespace.admin@kyma.cx" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceReconciler ¶
type NamespaceReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ExcludedNamespaces []string SubjectGroups []string UseStaticConnector bool }
NamespaceReconciler reconciles a Namespace object
func (*NamespaceReconciler) Reconcile ¶
Reconcile performs the reconciling for a single request object that can be used to fetch the namespace it represents from the cache +kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=namespaces/status,verbs=get;update;patch;watch +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings,verbs=create;update;patch;delete
func (*NamespaceReconciler) SetupWithManager ¶
func (r *NamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds the reconciler to the manager, so that it gets started when the manager is started
Click to show internal directories.
Click to hide internal directories.