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: apis/v1beta1/targetallocator_types.go
+5-2
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,12 @@ type TargetAllocatorPrometheusCR struct {
12
12
// Enabled indicates whether to use a PrometheusOperator custom resources as targets or not.
13
13
// +optional
14
14
Enabledbool`json:"enabled,omitempty"`
15
-
// WatchNamespace to look for Prometheus CRs. If not set, all namespaces are used which requires a ClusterRole for listing all namespaces.
15
+
// AllowNamespaces Namespaces to scope the interaction of the Target Allocator and the apiserver (allow list). This is mutually exclusive with DenyNamespaces.
// DenyNamespaces Namespaces to scope the interaction of the Target Allocator and the apiserver (allow list). This is mutually exclusive with AllowNamespaces.
factory:=informers.NewMonitoringInformerFactories(allowList, map[string]struct{}{}, mClient, allocatorconfig.DefaultResyncTime, nil) //TODO decide what strategy to use regarding namespaces
0 commit comments