This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/monitoring/manifests/prometheus-adapter-clusterRoleAggregatedMetricsReader.yaml

23 lines
576 B
YAML
Raw Normal View History

2020-02-11 21:21:17 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
2021-05-01 14:24:35 +00:00
app.kubernetes.io/component: metrics-adapter
app.kubernetes.io/name: prometheus-adapter
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.8.4
2020-02-11 21:21:17 +00:00
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rbac.authorization.k8s.io/aggregate-to-view: "true"
name: system:aggregated-metrics-reader
rules:
- apiGroups:
- metrics.k8s.io
resources:
- pods
- nodes
verbs:
- get
- list
- watch