Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNamespaceSelector ¶
ParseNamespaceSelector parses a namespace selector string into a labels.Selector. Returns nil if the selector is empty, which means all namespaces will be watched.
Types ¶
type Config ¶
type Config struct {
Address string
Authentication bool
BearerToken string
TenantId string
// SilenceSelector is used to filter silences based on label selectors.
// If nil, the controller will watch all silences.
SilenceSelector labels.Selector
// NamespaceSelector is used to restrict which namespaces the v2 controller watches.
// If nil, the controller will watch all namespaces.
NamespaceSelector labels.Selector
// Tenancy configuration
TenancyEnabled bool
TenancyLabelKey string // Single label key to extract tenant from (e.g., "observability.giantswarm.io/tenant")
TenancyDefaultTenant string
}
Config struct holds all the configuration for the operator.
Click to show internal directories.
Click to hide internal directories.