lwolf / kube-cleanup-operator

Kubernetes Operator to automatically delete completed Jobs and their Pods
MIT License
498 stars 109 forks source link

ignore namespaces #69

Closed rpatel-repay closed 2 years ago

rpatel-repay commented 3 years ago

i would like the ability to ignore namespaces rather than limiting the scope to certain namespace. Also to be able to take in a list as well, there could be many teams that do not want the jobs touched and this would be a value add.

lwolf commented 3 years ago

Currently, you can either specify one namespace or run it cluster-wide without restrictions.

If cluster-wide deployment doesn't work for your use case, you can deploy one instance per namespace that you need to monitor.

rpatel-repay commented 3 years ago

okay thanks, running many instance of this in different namespaces would cause more maintenance overhead as we would have this in every overlay for each team rather than a central location to control.