Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame] | 1 | kind: ClusterRole |
2 | apiVersion: rbac.authorization.k8s.io/v1 | ||||
3 | metadata: | ||||
4 | name: system:aggregated-metrics-reader | ||||
5 | labels: | ||||
6 | rbac.authorization.k8s.io/aggregate-to-view: "true" | ||||
7 | rbac.authorization.k8s.io/aggregate-to-edit: "true" | ||||
8 | rbac.authorization.k8s.io/aggregate-to-admin: "true" | ||||
9 | rules: | ||||
10 | - apiGroups: ["metrics.k8s.io"] | ||||
11 | resources: ["pods"] | ||||
12 | verbs: ["get", "list", "watch"] |