github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/scripts/vagrant/provision/manifests/kube-prometheus/0prometheus-operator-clusterRole.yaml (about) 1 apiVersion: rbac.authorization.k8s.io/v1 2 kind: ClusterRole 3 metadata: 4 name: prometheus-operator 5 rules: 6 - apiGroups: 7 - apiextensions.k8s.io 8 resources: 9 - customresourcedefinitions 10 verbs: 11 - '*' 12 - apiGroups: 13 - monitoring.coreos.com 14 resources: 15 - alertmanagers 16 - prometheuses 17 - prometheuses/finalizers 18 - alertmanagers/finalizers 19 - servicemonitors 20 - prometheusrules 21 - podmonitors 22 - thanosrulers 23 verbs: 24 - '*' 25 - apiGroups: 26 - apps 27 resources: 28 - statefulsets 29 verbs: 30 - '*' 31 - apiGroups: 32 - "" 33 resources: 34 - configmaps 35 - secrets 36 verbs: 37 - '*' 38 - apiGroups: 39 - "" 40 resources: 41 - pods 42 verbs: 43 - list 44 - delete 45 - apiGroups: 46 - "" 47 resources: 48 - services 49 - services/finalizers 50 - endpoints 51 verbs: 52 - get 53 - create 54 - update 55 - delete 56 - apiGroups: 57 - "" 58 resources: 59 - nodes 60 verbs: 61 - list 62 - watch 63 - apiGroups: 64 - "" 65 resources: 66 - namespaces 67 verbs: 68 - get 69 - list 70 - watch