mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 09:47:54 +00:00
Merge 75ac8de0d2 into 83a7dd5d5e
This commit is contained in:
commit
c1bc3bf086
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ Deployment has permission to list resources in the cluster:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ kubectl create clusterrole resource-lister --verb=list --resource="*"
|
$ kubectl create clusterrole resource-lister --verb=list --resource="*"
|
||||||
$ kubectl create clusterrolebinding cm-adapter-resource-lister --clusterrole=resource-lister -- serviceaccount=prom:prom-cm-adapter
|
$ kubectl create clusterrolebinding cm-adapter-resource-lister --clusterrole=resource-lister --serviceaccount=prom:prom-cm-adapter
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, ensure the deployment has all the necessary permissions to
|
Finally, ensure the deployment has all the necessary permissions to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue