From f34a58e4ef60bde07b7ed7e0ec6948aea9521b24 Mon Sep 17 00:00:00 2001 From: Mario Macias Date: Fri, 2 Aug 2024 11:47:21 +0200 Subject: [PATCH] Update ClusterRole permissions in documentation --- docs/sources/setup/kubernetes.md | 12 ++++++------ docs/sources/tutorial/k8s-walkthrough.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/sources/setup/kubernetes.md b/docs/sources/setup/kubernetes.md index f48540c30..f7fcc7f10 100644 --- a/docs/sources/setup/kubernetes.md +++ b/docs/sources/setup/kubernetes.md @@ -64,12 +64,12 @@ kind: ClusterRole metadata: name: beyla rules: - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["list", "watch"] + - apiGroups: [ "apps" ] + resources: [ "replicasets" ] + verbs: [ "list", "watch" ] + - apiGroups: [ "" ] + resources: [ "pods", "services", "nodes" ] + verbs: [ "list", "watch" ] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding diff --git a/docs/sources/tutorial/k8s-walkthrough.md b/docs/sources/tutorial/k8s-walkthrough.md index 3be021747..13ff278d1 100644 --- a/docs/sources/tutorial/k8s-walkthrough.md +++ b/docs/sources/tutorial/k8s-walkthrough.md @@ -221,12 +221,12 @@ kind: ClusterRole metadata: name: beyla rules: - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["list", "watch"] + - apiGroups: [ "apps" ] + resources: [ "replicasets" ] + verbs: [ "list", "watch" ] + - apiGroups: [ "" ] + resources: [ "pods", "services", "nodes" ] + verbs: [ "list", "watch" ] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding