hongming rui789 这里确实有个 bug,看到您提的 issue 了,已经关联到 3.3.1 milestone,会尽快修复,fix 之后可以使用 nightly build 镜像进行替换。目前只能够通过添加为集群成员来解决。
rui789 加为集群成员不太现实,因为这样用户会看到集群内所有的项目。有没有办法回滚到上一个版本? 我用下面命令提示是不支持 ./kk upgrade –with-kubernetes v1.20.10 –with-kubesphere v3.2.1 -f sample.yaml
hongming rui789 集群角色暂时还没有支持自定义,可以直接用 kubectl 创建 cat << EOF | kubectl apply -f - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: kubesphere.io/creator: admin name: regular rules: [] EOF
hongming rui789 kubectl patch globalrole authenticated --type json -p '[{"op":"add","path":"/rules/-","value":{"apiGroups":["resources.kubesphere.io"],"resources":["clusters"],"verbs":["list"]}}]'