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
{{ message }}
Repository navigation
VLAgent spec.k8sCollector.includePodLabels: false has no effect #2772
spec.k8sCollector.includePodLabels: false on a VLAgent has no effect. Pod labels are still collected.
internal/controller/operator/factory/vlagent/vlagent.go adds -kubernetesCollector.includePodLabels only when the value is true (ptr.Deref(..., true)), and passes nothing when it is false. vlagent (app/vlagent/kubernetescollector) defaults the flag to true, so false is never applied.
To Reproduce
Apply a VLAgent with the collector on and pod labels off:
Activity
vlagent: pass -kubernetesCollector.includePodLabels=false when disabl…