Skip to content

Commit

Permalink
Add missing RBAC rules for *Beats as of 8.9.0 (#7081) (#7088)
Browse files Browse the repository at this point in the history
Fixes #7079

This was first reported in #6946 (comment)

(cherry picked from commit d022e10)
  • Loading branch information
pebrc authored Aug 6, 2023
1 parent 1960939 commit 7afdc0d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/recipes/beats/filebeat_autodiscover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@ rules:
- get
- watch
- list
- apiGroups: ["apps"]
resources:
- replicasets
verbs:
- get
- list
- watch
- apiGroups: ["batch"]
resources:
- jobs
verbs:
- get
- list
- watch
---
apiVersion: v1
kind: ServiceAccount
Expand Down
28 changes: 28 additions & 0 deletions config/recipes/beats/stack_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,20 @@ rules:
- get
- watch
- list
- apiGroups: ["apps"]
resources:
- replicasets
verbs:
- get
- list
- watch
- apiGroups: ["batch"]
resources:
- jobs
verbs:
- get
- list
- watch
---
apiVersion: v1
kind: ServiceAccount
Expand Down Expand Up @@ -190,6 +204,20 @@ rules:
- get
- watch
- list
- apiGroups: ["apps"]
resources:
- replicasets
verbs:
- get
- list
- watch
- apiGroups: ["batch"]
resources:
- jobs
verbs:
- get
- list
- watch
---
apiVersion: v1
kind: ServiceAccount
Expand Down
14 changes: 14 additions & 0 deletions config/recipes/elastic-agent/kubernetes-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,20 @@ rules:
- get
- create
- update
- apiGroups: ["apps"]
resources:
- replicasets
verbs:
- get
- list
- watch
- apiGroups: ["batch"]
resources:
- jobs
verbs:
- get
- list
- watch
---
apiVersion: v1
kind: ServiceAccount
Expand Down

0 comments on commit 7afdc0d

Please sign in to comment.