-
Notifications
You must be signed in to change notification settings - Fork 406
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
[BUG] init yurtcoordinator failed: fail to write CA assets into secret when initializing yurtcoordinator: create secret client yurt-coordinator-ca-certs fail #2127
Comments
@twosson Thanks for raising this issue. It seems that |
@twosson Sorry, I have checked the code of yurt-coordinator-ca-certs controller that use openyurt/pkg/yurtmanager/controller/yurtcoordinator/cert/yurt_coordinator_cert_controller.go Line 201 in 734da95
Moreover,
so would you like to check the yurt-manger component version that you have used? |
the same problem to me, as the log of
yurt-manager use serviceaccount |
As mentioned before, please post the yurt-manger component version that you used. It's unusual that yurt-manager use serviceaccount |
I installed openyurt by helm -- |
Also, I have tried install with 1.5.0 version -- The log of
|
Thanks for your reply. It seems that the online helm repo is not updated. @rambohe-ch Please try use openyurt/yurt-manager:v1.5.0 @YunWZ |
@YunWZ by the way, openyurt charts have been moved here: https://github.com/openyurtio/charts after version v1.5.0. please have a try. |
What happened:
Install yurt-manager err:
deleg.go:144] setup "msg"="unable to setup controllers" "error"="init yurtcoordinator failed: fail to write CA assets into secret when initializing yurtcoordinator: create secret client yurt-coordinator-ca-certs fail: secrets is forbidden: User "system:serviceaccount:kube-system:yurt-manager" cannot create resource "secrets" in API group "" in the namespace "kube-system""
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
helm upgrade --install yurt-manager -n kube-system openyurt/yurt-manager
Anything else we need to know?:
Environment:
kubectl version
): 1.31cat /etc/os-release
): ubuntu22.04uname -a
): Linux k8s-master001 5.15.0-118-generic refactor: proxy handler of yurthub #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linuxothers
/kind bug
The text was updated successfully, but these errors were encountered: