mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 09:59:33 +01:00
16 lines
276 B
YAML
16 lines
276 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: prometheus
|
||
|
rules:
|
||
|
- apiGroups: [""]
|
||
|
resources:
|
||
|
- nodes
|
||
|
- nodes/proxy
|
||
|
- services
|
||
|
- endpoints
|
||
|
- pods
|
||
|
verbs: ["get", "list", "watch"]
|
||
|
- nonResourceURLs: ["/metrics"]
|
||
|
verbs: ["get"]
|