hjacobs / kube-janitor

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

Support custom hooks for resource context #64

Closed hjacobs closed 4 years ago

hjacobs commented 4 years ago

A custom "hook" Python function allows to add arbitrary information to the _context object in rules, e.g. to gather information from external services such as retrieving GitHub PR status (#45).