clank-postgres/postgres-operator-examples-main/kustomize/monitoring/rbac-cr.yaml

17 lines
267 B
YAML
Raw Normal View History

2023-04-06 02:21:56 +02:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: postgres-operator-monitoring
vendor: crunchydata
name: prometheus-cr
rules:
- resources:
- pods
apiGroups:
- ""
verbs:
- get
- list
- watch