-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Use the TokenRequest API to support >=1.24 clusters #9610
Comments
Throwing in some notes I kept while implementing the CLI fix: https://docs.google.com/document/d/1MmYIfM8tbEp2irCaLtgrv9jJL-coYG3u-wa3xTVkEOU/edit#heading=h.r5wcd4iwxat8 Kubernetes has a TokenManager concept that creates, refreshes, caches, and rotates tokens from the TokenRequest API. The challenge right now is that some of clusterauth package's funcs are called directly by the argocd CLI, which doesn't allow Argo CD to persist token management. It might make sense to inject this token manager into the cluster server to add support for the TokenRequest API to avoid using these long lived tokens. |
Hi @crenshaw-dev , I am working on this issue. Would be raising a PR soon |
Hi @crenshaw-dev, |
Hi @crenshaw-dev
|
Apologies @mabhi I completely missed your messages. Making a note to follow up on your questions. |
Thank you for the response. Would wait for your comments.
|
Hi Folks - any update on this issue? |
Any updates? |
I would also be interested, thx |
Any updates? |
Any updates ? |
My application-controller pod is emitting below log continuously and I think that it is because of this. 25k the past 24 hours to be exact.
|
Another followup on this. Is there any updates? My application-controller pod is generating about 7.5gb of logs a day and they're mostly:
|
Any updates ? |
Any updates? |
Hello, any updates ? |
Would be great to have a smart solution for external managed clusters instead of rolling over the service account bearer token every year, thank you. |
dead |
Summary
2.4 creates a non-expiring ServiceAccount token Secret on
argocd cluster add
for 1.24 clusters.Instead, Argo CD should use the TokenRequest API.
Motivation
Kubernetes recommends using the TokenRequest API rather than relying on tokens that don't expire.
The text was updated successfully, but these errors were encountered: