hjacobs / kube-janitor

Clean up (delete) Kubernetes resources after a configured TTL (time to live)
GNU General Public License v3.0
473 stars 40 forks source link

Support wildcard patterns in include/exclude lists #77

Closed joeljeske closed 4 years ago

joeljeske commented 4 years ago

It would be helpful to support a wildcard pattern when specifying namespaces to include/exclude.

Example:

--include-namespaces=devspace-*
--exclude-namespaces=kube-*

Use Case:

It is useful when namespaces are used as a separation between deployment instances in different namespaces, particularly for personal developer or team namespaces.

joeljeske commented 4 years ago

Ignore me.. you have this capability in your rules file.