Closed aermakov-zalando closed 4 years ago
Does this do it?
@jasonmorganson the linked PR #33 is an alternative version to track "last update time" without requiring a specific annotation injected by some other tool (like CI/CD pipeline).
This was implemented and released in https://github.com/hjacobs/kube-janitor/releases/tag/20.2.0
This annotation is injected during deployment time, so the janitor should prefer using it instead of
creationTime
. Currently it'll remove a deployment 2 days after it was created even if the users redeploy every hour, which is definitely not what anyone would expect.