github.com/oam-dev/cluster-gateway@v1.9.0/charts/cluster-gateway/templates/clusterroles.yaml (about) 1 apiVersion: rbac.authorization.k8s.io/v1 2 kind: ClusterRole 3 metadata: 4 name: open-cluster-management:cluster-gateway:managedcluster-reader 5 rules: 6 - apiGroups: 7 - cluster.open-cluster-management.io 8 resources: 9 - managedclusters 10 verbs: 11 - get 12 - list 13 - watch 14 - apiGroups: 15 - "" 16 resources: 17 - namespaces 18 verbs: 19 - get 20 - list 21 - watch 22 - apiGroups: 23 - admissionregistration.k8s.io 24 resources: 25 - mutatingwebhookconfigurations 26 - validatingwebhookconfigurations 27 verbs: 28 - get 29 - list 30 - watch 31 - apiGroups: 32 - flowcontrol.apiserver.k8s.io 33 resources: 34 - prioritylevelconfigurations 35 - flowschemas 36 verbs: 37 - get 38 - list 39 - watch 40 - apiGroups: 41 - authorization.k8s.io 42 resources: 43 - subjectaccessreviews 44 verbs: 45 - "*"