apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: net-manager-role rules: - apiGroups: - network.kubesphere.io resources: - namespacenetworkpolicies - workspacenetworkpolicies verbs: - create - delete - get - list - patch - update - watch - apiGroups: - tenant.kubesphere.io resources: - workspaces verbs: - create - delete - get - list - patch - update - watch