Skip to content
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

fix: Use Rotated Service Account Auth Token #249

Merged
merged 25 commits into from
May 2, 2022
Merged

Conversation

alewitt2
Copy link
Member

@alewitt2 alewitt2 commented Mar 8, 2022

starting in Kube 1.22, service account tokens are mounted as projected volumes on pods, and those tokens are rotated on a regular interval. For the time being the old tokens are marked as stale, but still valid. At some point in the future, the old tokens will no longer be valid. This PR should update our controllers to re-fetch the token at a regular interval to ensure we always use a valid token when talking to the kube api.

refs:

@alewitt2 alewitt2 requested a review from adamkingit March 8, 2022 18:28
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 16, 2022
@alewitt2 alewitt2 added enhancement New feature or request and removed wontfix This will not be worked on labels Apr 22, 2022
@alewitt2 alewitt2 merged commit dac92b0 into master May 2, 2022
@alewitt2 alewitt2 deleted the refresh-auth-token branch May 2, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants