Add wildcard urls to prometheus clusterrole.
This commit is contained in:
parent
43f2248de8
commit
d5183979c3
2 changed files with 2 additions and 2 deletions
|
@ -14,5 +14,5 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs: ["get"]
|
||||
- nonResourceURLs: ["/metrics"]
|
||||
- nonResourceURLs: ["*"]
|
||||
verbs: ["get"]
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
labels:
|
||||
prometheus: prometheus
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
serviceAccountName: prometheus
|
||||
serviceMonitorNamespaceSelector:
|
||||
matchLabels:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue