From 4899e5deddc086d9f67375498e6fa417a02795f1 Mon Sep 17 00:00:00 2001 From: "felix.phipps" Date: Thu, 14 May 2026 16:30:06 +0100 Subject: [PATCH] initial commit --- pkg/agent/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/agent/run.go b/pkg/agent/run.go index fce00b01..6f3ce0b4 100644 --- a/pkg/agent/run.go +++ b/pkg/agent/run.go @@ -196,8 +196,8 @@ func Run(cmd *cobra.Command, args []string) (returnErr error) { dynDg, isDynamicGatherer := newDg.(*k8sdynamic.DataGathererDynamic) if isDynamicGatherer { - dynDg.ExcludeAnnotKeys = config.ExcludeAnnotationKeysRegex - dynDg.ExcludeLabelKeys = config.ExcludeLabelKeysRegex + dynDg.ExcludeAnnotKeys = append(dynDg.ExcludeAnnotKeys, config.ExcludeAnnotationKeysRegex...) + dynDg.ExcludeLabelKeys = append(dynDg.ExcludeLabelKeys, config.ExcludeLabelKeysRegex...) gvr := dynDg.GVR()