You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose adding an additional annotation, such as k8s-ttl-controller.twin.sh/updateTimestamp. The purpose of this annotation is straightforward: it serves as an alternative to metadata.creationTimestamp for cases where a user wants to control the object's deletion timing based on a redeployment, rather than delaying deletion after the initial creation.
The logic is straightforward: if the annotation exists, it is used as the starting point. If not, metadata.creationTimestamp is used by default.
Why do you personally want this feature to be implemented?
This feature would be helpful for my project. I'm happy to contribute to its implementation. I think it would be nice to discuss the details of this functionality beforehand.
How long have you been using this project?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Something like k8s-ttl-controller.twin.sh/refreshed-at would be a great idea, I agree, and your suggested implementation (check annotation first then fallback to metadata.creationTimestamp makes sense!
Describe the feature request
I propose adding an additional annotation, such as
k8s-ttl-controller.twin.sh/updateTimestamp
. The purpose of this annotation is straightforward: it serves as an alternative tometadata.creationTimestamp
for cases where a user wants to control the object's deletion timing based on a redeployment, rather than delaying deletion after the initial creation.The logic is straightforward: if the annotation exists, it is used as the starting point. If not,
metadata.creationTimestamp
is used by default.Why do you personally want this feature to be implemented?
This feature would be helpful for my project. I'm happy to contribute to its implementation. I think it would be nice to discuss the details of this functionality beforehand.
How long have you been using this project?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: