Files
lint-enforcement-v2/examples/public-hosted-ingress/rendered/prometheus/clusterrole.yaml
Scaffolder abffd7aeb7
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m3s
initial commit
Change-Id: I3194558e1a840334641aff81960492489f171232
2026-07-08 09:13:14 +00:00

50 lines
976 B
YAML

---
# Source: opentelemetry-demo/charts/prometheus/templates/clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: server
app.kubernetes.io/name: prometheus
app.kubernetes.io/instance: example
app.kubernetes.io/version: v3.11.3
helm.sh/chart: prometheus-29.6.0
app.kubernetes.io/part-of: prometheus
name: prometheus
rules:
- apiGroups:
- ""
resources:
- nodes
- nodes/metrics
- services
- endpoints
- pods
- ingresses
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- nonResourceURLs:
- "/metrics"
verbs:
- get