-
Notifications
You must be signed in to change notification settings - Fork 423
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
Reuse tokens for up to 15 minutes - Wrapper script for client #99
Comments
Totally feasible, it'd still need the file to recall for the cache but we could probably add a function to check for this file and its age after https://github.com/heptio/authenticator/blob/master/cmd/heptio-authenticator-aws/token.go#L45 and if it passed add a func to |
@roffe would you like to give this a go and work on a PR? |
Sure, i'll take a crack at it and see what i can come up with |
I think we would also need to adjust the pre-signed TTL that the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi gang and thanks for the hard work!
Got the authenticator running today and everything seems really nice!
However i noticed that all my kubectl commands now takes a little longer to complete. Not much but enough for me to hack together this little proof of concept "wrapper/cache" for the authenticator that stores the last response and would cat it directly from disk if the file is <800 seconds old.
Would something similar be doable directly in the client and let a user pass for example
--cache
as a runtime opt to use the disk cache for a slighter faster responseThe text was updated successfully, but these errors were encountered: