-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(retention): change default policy, add API to apply retention #6088
feat(retention): change default policy, add API to apply retention #6088
Conversation
} | ||
args.count = count; | ||
if (attemptWithVersion == null) { | ||
attemptWithVersion = 21; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this value come from? What is the reason for this default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From maxVersions: 20
in /boot/retention.yml
20 max versions + 1 default to 0.
config: | ||
retention: | ||
version: | ||
maxVersions: 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be overridden by environment variables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is not supported currently.
Checklist