shaowenchen LgyLab 今天的测试没问题。临时解决办法是 kubectl edit cm kubesphere-config -n kubesphere-system 从前端页面 F12 在 cookies 里面,拿到 token ,替换上面 cm 中 devops 的 password 重启 ks-controller-manager ,等待一会儿。或者立即新建是可以的。
LgyLab E0724 17:21:18.878541 1 devopsproject_controller.go:142] error syncing ‘mendix-sample’: [ServiceError:500] GET http://ks-jenkins.kubesphere-devops-system.svc/crumbIssuer/api/json/api/json: 500 E0724 17:22:47.564725 1 globalrolebinding_controller.go:207] error syncing ‘mw00267-platform-admin’: GET http://ks-jenkins.kubesphere-devops-system.svc/role-strategy/strategy/getRole/?roleName=admin&type=globalRoles: 500
LgyLab search.devops.kubesphere.io is forbidden: User “mendix-user” cannot list resource “search” in API group “devops.kubesphere.io” at the cluster scope