-
Notifications
You must be signed in to change notification settings - Fork 4.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
Core handling of TTLs #4230
Merged
Merged
Core handling of TTLs #4230
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
9eab394
govet cleanup in token store
21bd6dc
adding general ttl handling to login requests
23b96b6
consolidating TTL calculation to system view
27049aa
deprecate LeaseExtend
b9180b6
deprecate LeaseExtend
b0ddd3e
set the increment to the correct value
411a8ed
Merge remote-tracking branch 'oss/master' into core-auth-ttl
9147126
move calculateTTL out of SystemView
19886fa
remove unused value
21ebd68
add back clearing of lease id
e567b4e
implement core ttl in some backends
dec302c
removing increment and issue time from lease options
0907f9d
adding ttl tests, fixing some compile issue
30c3a98
adding ttl tests
fb272c1
fixing some explicit max TTL logic
dfe18e9
fixing up some tests
6f73f99
removing unneeded test
4ad2303
off by one errors...
f1cf562
adding back some logic for bc
0596d4d
adding period to return on renewal
21d1f83
tweaking max ttl capping slightly
611b029
use the appropriate precision for ttl calculation
790b9c2
deprecate proto fields instead of delete
49af1f1
addressing feedback
fc3dba6
moving TTL handling for backends to core
6893d38
mongo is a secret backend not auth
6798312
adding estimated ttl for backends that also manage the expiration time
65e9e1b
set the estimate values before calling the renew request
be70406
moving calculate TTL to framework, revert removal of increment and is…
6b240b8
minor edits
0b465c4
Merge remote-tracking branch 'oss/master' into core-auth-ttl
2317f5e
addressing feedback
0d54d5c
address more feedback
042657c
Merge remote-tracking branch 'oss/master' into core-auth-ttl
84a35ac
Merge branch 'master' into core-auth-ttl
vishalnayak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think the
request.Auth
is not carried over to the response in this case.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.
This is fixed in 2317f5e