-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Refreshing service account tokens for cluster #9417
Comments
Hi @junjunjunk , the ticket is closed after marking as enhancement. is this enhancement implemented already and what is the min. version that has this enhancement? we are planning to upgrade our eks to v1.22, will this affect argocd with remote clusters? much appreciated your response on this!! |
Could anyone advise me on this, pls? |
@logamanig
In conclusion, it has already been implemented. https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#kubernetes-1.21
|
Hi @junjunjunk , Thank you for your response! |
In example, ArgoCD v2.3.5 uses SDK v0.23.1 as below. Line 82 in 1287d24
|
Summary
EKS cluster has new feature "Bound Service Account Token Volume".
And then, we need to refresh serviceaccount token at least once an hour for the feature.
Motivation
The "Bound Service Account Token Volume" is graduated to stable and enabled by default in Kubernetes version 1.22.
https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#kubernetes-1.21
This feature makes service account tokens now have an expiration of one hour. Even if, they didn't have an expiration in previous Kubernetes versions.
And then, argo cd uses serviceaccount & token for access&request to the cluster.
https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_cluster_add/
Proposal
Implement feature which, refresh serviceaccount token.
The text was updated successfully, but these errors were encountered: