From c56663895ff8dd89df971a0eecd56e930c13f504 Mon Sep 17 00:00:00 2001 From: Thibault Richard Date: Fri, 8 Sep 2023 17:35:58 +0200 Subject: [PATCH] Update beat/agent doc with missing RBAC rules needed from 8.9.0 (#7161) --- .../agent-fleet.asciidoc | 12 ++++++++++++ .../beat.asciidoc | 14 ++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/orchestrating-elastic-stack-applications/agent-fleet.asciidoc b/docs/orchestrating-elastic-stack-applications/agent-fleet.asciidoc index 1ff48b08ae..196e668238 100644 --- a/docs/orchestrating-elastic-stack-applications/agent-fleet.asciidoc +++ b/docs/orchestrating-elastic-stack-applications/agent-fleet.asciidoc @@ -150,6 +150,18 @@ rules: - get - create - update +- apiGroups: ["apps"] + resources: + - replicasets + verbs: + - list + - watch +- apiGroups: ["batch"] + resources: + - jobs + verbs: + - list + - watch --- apiVersion: v1 kind: ServiceAccount diff --git a/docs/orchestrating-elastic-stack-applications/beat.asciidoc b/docs/orchestrating-elastic-stack-applications/beat.asciidoc index 9b1f05d618..a59f5828fc 100644 --- a/docs/orchestrating-elastic-stack-applications/beat.asciidoc +++ b/docs/orchestrating-elastic-stack-applications/beat.asciidoc @@ -396,6 +396,20 @@ rules: - get - list - watch +- apiGroups: ["apps"] + resources: + - replicasets + verbs: + - get + - list + - watch +- apiGroups: ["batch"] + resources: + - jobs + verbs: + - get + - list + - watch ---- [id="{p}-beat-deploying-beats-in-secured-clusters"]