We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9933b9 commit 4899e5dCopy full SHA for 4899e5d
1 file changed
pkg/agent/run.go
@@ -196,8 +196,8 @@ func Run(cmd *cobra.Command, args []string) (returnErr error) {
196
197
dynDg, isDynamicGatherer := newDg.(*k8sdynamic.DataGathererDynamic)
198
if isDynamicGatherer {
199
- dynDg.ExcludeAnnotKeys = config.ExcludeAnnotationKeysRegex
200
- dynDg.ExcludeLabelKeys = config.ExcludeLabelKeysRegex
+ dynDg.ExcludeAnnotKeys = append(dynDg.ExcludeAnnotKeys, config.ExcludeAnnotationKeysRegex...)
+ dynDg.ExcludeLabelKeys = append(dynDg.ExcludeLabelKeys, config.ExcludeLabelKeysRegex...)
201
202
gvr := dynDg.GVR()
203
0 commit comments