Closed niclan closed 7 months ago
Thanks for reporting the issue. Currently the include and exclude flags are taking the input as a string instead of a string slice.
We will address this issue in the next release hopefully.
As a temporary workaround you can use https://github.com/yonahd/kor?tab=readme-ov-file#ignore-resources
Hi @niclan This should be solved in the newest release v0.3.7 Let me know if there are any further issues
Describe the bug Documentation states that this is the correct usage:
--exclude-labels key1=value1,key2=value2
.I get this to work correctly with one but not two keys/value pairs.
To Reproduce
I built kor from :latest today.
The ceph and fluentbit secrets must not be deleted, they should be hanging around in all the namespaces in case they're needed.
and
So
Works for one label. But
Nothing is excluded when two labels are specified.
I had a go at the source code, but I don't know go and the API docs quickly got a bit byzantine for me.
Expected behavior
Exclude several labels as documented.
Screenshots
See log above
OS version, architecture and kor version
Additional context
Thanks