Skip to content

Refresh service account tokensΒ #154

@DonnyOlijslager

Description

@DonnyOlijslager

AWS has graduated the BoundServiceAccountTokenVolume to the feature status in Kubernetes 1.21.

If I understand the feature correctly that means that in the future the service account tokens will be expired after an hour. This means that the token will have to be refreshed from disk within that time. At the moment the library does not reload the token.

AWS has updated it's clients to refresh the tokens before the expiry time. Since this library does not use the java client the token has to be refreshed manually.

Documentation: kubernetes/enhancements#542

Thanks,
Donny

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions