Support `deployment-time` annotation
aermakov-zalando opened this issue · 3 comments
aermakov-zalando commented
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.
jasonmorganson commented
Does this do it?
hjacobs commented
@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).
hjacobs commented
This was implemented and released in https://github.com/hjacobs/kube-janitor/releases/tag/20.2.0