First commit
This commit is contained in:
parent
7e7e171b4c
commit
f295d3d319
15 changed files with 195 additions and 1 deletions
12
files/system:aggregated-metrics-reader-ClusterRole.yaml
Normal file
12
files/system:aggregated-metrics-reader-ClusterRole.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: system:aggregated-metrics-reader
|
||||
labels:
|
||||
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
||||
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||||
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||||
rules:
|
||||
- apiGroups: ["metrics.k8s.io"]
|
||||
resources: ["pods", "nodes"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue