netflux-kubernetes/deploy/base/inflated/prometheus/templates/server/clusterrole.yaml

43 lines
754 B
YAML
Raw Normal View History

2022-05-11 01:10:22 +00:00
---
# Source: prometheus/templates/server/clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1
2022-05-02 19:05:01 +00:00
kind: ClusterRole
metadata:
labels:
2022-05-11 01:10:22 +00:00
component: "server"
app: prometheus
release: prometheus
chart: prometheus-15.8.5
heritage: Helm
name: prometheus-server
2022-05-02 19:05:01 +00:00
rules:
- apiGroups:
- ""
resources:
- nodes
- nodes/proxy
- nodes/metrics
- services
- endpoints
- pods
- ingresses
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- "extensions"
- "networking.k8s.io"
resources:
- ingresses/status
- ingresses
verbs:
- get
- list
- watch
- nonResourceURLs:
- "/metrics"
verbs:
- get