infra4talos/apps-kustomized/kube-prometheus/prometheusAdapter-clusterRo...

24 lines
501 B
YAML
Raw Permalink Normal View History

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: metrics-adapter
app.kubernetes.io/name: prometheus-adapter
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.11.1
name: prometheus-adapter
annotations:
argocd.argoproj.io/sync-wave: '1'
rules:
- apiGroups:
- ''
resources:
- nodes
- namespaces
- pods
- services
verbs:
- get
- list
- watch