-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
auth: Customize the settings of simpleTokenTTL. #11980
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11980 +/- ##
==========================================
- Coverage 65.96% 65.81% -0.15%
==========================================
Files 403 403
Lines 37306 37327 +21
==========================================
- Hits 24608 24566 -42
- Misses 11182 11224 +42
- Partials 1516 1537 +21
Continue to review full report at Codecov.
|
What is your use case to shorten this? |
Please read #11978 (comment) for the reason. |
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.
@cfc4n meanwhile you wait for reviews, can you please fix this small build error https://travis-ci.com/github/etcd-io/etcd/jobs/344653990#L356 thanks!
can you also add this change to changelog and reflect in the documentation of the flags? |
OK,I'll finish it today . |
Do I need to send a new PR for CHANGELOG or in this pr? |
see #11978 for more detail.
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
…upstream-release-3.3 Automated cherry pick of #11980
…upstream-release-3.4 Automated cherry pick of #11980
auth: Customize simpleTokenTTL settings.
simple Token TTL default value is auth.simpleTokenTTL = 5 * time.Minute.
Sometimes, this value is not sufficient for use, I hope it can be given to the user to customize the setting.
Fixes #11978