Kubernetes版本信息
v1.24.4
KubeSphere版本信息
v3.3.1
K8s上使用ks-install安装
问题是什么
自定义了一个Clusterrole,分配角色了,但是无法显示pod终端标识,我看cluster-admin是可以显示的,我还漏了啥权限?
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cluster-viewer-pro
annotations:
kubesphere.io/creator: system
rules:
- verbs:
- get
- list
- watch
apiGroups:
- '*'
resources:
- '*'
- verbs:
- GET
nonResourceURLs:
- '*'
- verbs:
- create
apiGroups:
- '*'
resources:
- pods/exec