-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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: unable to connect cluster when AutomountServiceAccountToken is disabled. Fixes #10937 #10945
Conversation
…isabled Signed-off-by: Max Xu <xuhuan@live.cn>
@terrytangyuan PTAL, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Could you add a test in https://github.com/argoproj/argo-workflows/tree/master/test/e2e?
Signed-off-by: Max Xu <xuhuan@live.cn>
Signed-off-by: Max Xu <xuhuan@live.cn>
@terrytangyuan Added two e2e tests, PTAL |
Test failure is related to your new test |
For K8s 1.24+, KSA won't create token secret automatically. Signed-off-by: Max Xu <xuhuan@live.cn>
Fixed by adding Secret/argo.service-account-token. Now all CI passed. It's due to the KSA token secret issue of K8s 1.24+, the |
…isabled. Fixes argoproj#10937 (argoproj#10945) Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Fixes #10937