Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Oct 15, 2020
1 parent 861271a commit 94a6027
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Documentation/rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
```
> Note: A cluster admin is required to create this `ClusterRole` and create a `ClusterRoleBinding` or `RoleBinding` to the `ServiceAccount` used by the Prometheus Operator `Pod`. The `ServiceAccount` used by the Prometheus Operator `Pod` can be specified in the `Deployment` object used to deploy it.
Expand Down Expand Up @@ -137,6 +145,11 @@ rules:
resources:
- configmaps
verbs: ["get"]
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs: ["get", "list", "watch"]
- nonResourceURLs: ["/metrics"]
verbs: ["get"]
```
Expand Down
5 changes: 5 additions & 0 deletions Documentation/user-guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ rules:
resources:
- configmaps
verbs: ["get"]
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs: ["get", "list", "watch"]
- nonResourceURLs: ["/metrics"]
verbs: ["get"]
```
Expand Down
8 changes: 8 additions & 0 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17640,6 +17640,14 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
---
apiVersion: apps/v1
kind: Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,11 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
5 changes: 5 additions & 0 deletions example/rbac/prometheus/prometheus-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ rules:
resources:
- configmaps
verbs: ["get"]
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs: ["get", "list", "watch"]
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

0 comments on commit 94a6027

Please sign in to comment.