Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCacheByObject ¶
func BuildCacheByObject(secretSelector labels.Selector, watchAllSecrets bool, tlsClusterProfile bool) map[client.Object]cache.ByObject
BuildCacheByObject builds the cache.ByObject map for the manager's cache configuration.
Operator-created resources (Deployment, StatefulSet, ConfigMap, Service) are filtered by the fixed label app.kubernetes.io/managed-by=perses-operator.
Secrets are filtered by secretSelector. If secretSelector is nil (no flag provided), the default label perses.dev/watch=true is used. If watchAllSecrets is true, no label filter is applied to secrets (preserving pre-change behavior).
Secret data is always stripped from the cache via Transform regardless of label filtering.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.