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
fix: set default value for users.session.duration (#9962) #10185
fix: set default value for users.session.duration (#9962) #10185
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10185 +/- ##
==========================================
+ Coverage 45.93% 45.94% +0.01%
==========================================
Files 227 227
Lines 27419 27418 -1
==========================================
+ Hits 12594 12598 +4
+ Misses 13114 13110 -4
+ Partials 1711 1710 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Takuya Yaginuma <biz.mkgoat.yagi+github@gmail.com> Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com>
02c4597
to
c74a524
Compare
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.
@y-takuya thanks so much for this!
Could you add a quick note to docs/operator-manual/upgrading/2.4-2.5.md to say something to this effect:
Invalid user.session.duration values now fall back to 24h
Before v2.5, an invalid
user.session.duration
value in argocd-cm would 1) log a warning and 2) result in user sessions having no duration limit.Starting with v2.5, invalid duration values will fall back to 24 hours.
Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com>
Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com>
@crenshaw-dev Thank you very much for your comment and for revising the PR title. I added a note with mostly what you proposed. |
Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com>
@y-takuya the test failure is due to a problem on the master branch. I'll update your branch after the fix is merged (should be in the next ~40min). |
@crenshaw-dev I see. Thank you for updating my branch. The CI is still failing, but the reason was due to a network problem that failed to download the k3s binary (exit code 92). It might be a temporary issue, so I will try to re-trigger this CI again. |
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.
lgtm. thanks @y-takuya!
…goproj#10185) * fix: set default value for users.session.duration Signed-off-by: Takuya Yaginuma <biz.mkgoat.yagi+github@gmail.com> Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com> * docs: add user.session.duration change Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com> * docs: fix users.session.duration parameter name Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com> * Retrigger CI pipeline Signed-off-by: y-takuya <biz.mkgoat.yagi+github@gmail.com> Co-authored-by: Michael Crenshaw <michael@crenshaw.dev>
Fixes #9962
Checklist:
NOTE: