Agent_kube kubernetes exclude namespaces not working

CMK version:

cee 2.4.0p10

OS version:

oracle linux 8.9

Error message:

when I configure kubernetes and enter more than one namespace name to exclude I get an argument error

[special_kube] agent_kube: error: unrecognized arguments: openshift-etcd(!!), [piggyback] Success (but no data found for this host), Missing monitoring data for all plugins(!)
Agent exited with code 2: usage: agent_kube 
[...]
agent_kube: error: unrecognized arguments: openshift-etcd(!!)

i see that works:
aaa-dziala

Is this a bug?

However, something’s wrong. The command passes, but it doesn’t exclude these namespaces from monitoring.

For now, I can only add 1 exclude to the exceptions.

I see werk Werk #18128: Fix exclusion of namespaces in kubernetes agent but it didn’t work for me.

Maybe it’s because it’s OpenShift.

i find that