You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,11 @@ import (
15
15
typeConfigstruct {
16
16
// OrganizationLabel is the label used to mark namespaces to belong to an organization
17
17
OrganizationLabelstring
18
+
// UnmanagedOrganizationNamespaceLabel is the label used to mark namespaces that should not be
19
+
// managed by this controller or its webhooks and this should not be restricted by resource quotas
20
+
// and limit ranges, even if they belong to an organization.
21
+
// The controller doesn't look at the value of this label, it only looks for the label and skips any namespaces that have both the organization label and this label.
22
+
UnmanagedOrganizationNamespaceLabelstring
18
23
19
24
// UserDefaultOrganizationAnnotation is the annotation the default organization setting for a user is stored in.
@@ -23,6 +26,8 @@ type OrganizationRBACReconciler struct {
23
26
Recorder record.EventRecorder
24
27
Scheme*runtime.Scheme
25
28
29
+
NamespaceSelector labels.Selector
30
+
26
31
// OrganizationLabel is the label that marks to what organization (if any) the namespace belongs to
27
32
OrganizationLabelstring
28
33
// DefaultClusterRoles is a map where the keys are the name of default rolebindings to create and the values are the names of the clusterroles they bind to
0 commit comments