forked from tomplus/kubernetes_asyncio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Periodically refresh ServiceAccount tokens
Periodically refresh ServiceAccount tokens. This is required to avoid authentication errors when time-bound tokens [1] are rotated, and the initially-read token expires. Time bound tokens are beta in Kubernetes 1.21, and GA in 1.22 [2]. [1]: https://github.com/kubernetes/enhancements/tree/master/keps/sig-auth/1205-bound-service-account-tokens [2]: kubernetes/enhancements#542
- Loading branch information
1 parent
308f153
commit b5fc07f
Showing
2 changed files
with
61 additions
and
12 deletions.
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