k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/0prometheus-operator-clusterRole.yaml (about) 1 apiVersion: rbac.authorization.k8s.io/v1 2 kind: ClusterRole 3 metadata: 4 labels: 5 app.kubernetes.io/component: controller 6 app.kubernetes.io/name: prometheus-operator 7 app.kubernetes.io/part-of: kube-prometheus 8 app.kubernetes.io/version: 0.46.0 9 name: prometheus-operator 10 rules: 11 - apiGroups: 12 - monitoring.coreos.com 13 resources: 14 - alertmanagers 15 - alertmanagers/finalizers 16 - alertmanagerconfigs 17 - prometheuses 18 - prometheuses/finalizers 19 - thanosrulers 20 - thanosrulers/finalizers 21 - servicemonitors 22 - podmonitors 23 - probes 24 - prometheusrules 25 verbs: 26 - '*' 27 - apiGroups: 28 - apps 29 resources: 30 - statefulsets 31 verbs: 32 - '*' 33 - apiGroups: 34 - "" 35 resources: 36 - configmaps 37 - secrets 38 verbs: 39 - '*' 40 - apiGroups: 41 - "" 42 resources: 43 - pods 44 verbs: 45 - list 46 - delete 47 - apiGroups: 48 - "" 49 resources: 50 - services 51 - services/finalizers 52 - endpoints 53 verbs: 54 - get 55 - create 56 - update 57 - delete 58 - apiGroups: 59 - "" 60 resources: 61 - nodes 62 verbs: 63 - list 64 - watch 65 - apiGroups: 66 - "" 67 resources: 68 - namespaces 69 verbs: 70 - get 71 - list 72 - watch 73 - apiGroups: 74 - networking.k8s.io 75 resources: 76 - ingresses 77 verbs: 78 - get 79 - list 80 - watch 81 - apiGroups: 82 - authentication.k8s.io 83 resources: 84 - tokenreviews 85 verbs: 86 - create 87 - apiGroups: 88 - authorization.k8s.io 89 resources: 90 - subjectaccessreviews 91 verbs: 92 - create