server-clusterrole.yaml 750 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. # Source: loki-stack/charts/prometheus/templates/server-clusterrole.yaml
  3. apiVersion: rbac.authorization.k8s.io/v1beta1
  4. kind: ClusterRole
  5. metadata:
  6. labels:
  7. component: "server"
  8. app: prometheus
  9. release: loki
  10. chart: prometheus-9.3.1
  11. heritage: Tiller
  12. name: loki-prometheus-server
  13. rules:
  14. - apiGroups:
  15. - ""
  16. resources:
  17. - nodes
  18. - nodes/proxy
  19. - nodes/metrics
  20. - services
  21. - endpoints
  22. - pods
  23. - ingresses
  24. - configmaps
  25. verbs:
  26. - get
  27. - list
  28. - watch
  29. - apiGroups:
  30. - "extensions"
  31. resources:
  32. - ingresses/status
  33. - ingresses
  34. verbs:
  35. - get
  36. - list
  37. - watch
  38. - nonResourceURLs:
  39. - "/metrics"
  40. verbs:
  41. - get