From 3106c75c241d80f48d6e1bb9047f092aee13255b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 31 Aug 2022 07:49:02 +0300 Subject: [PATCH] logging: Fix cluster roles so it works with elastic-system --- logging/filebeat.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/logging/filebeat.yml b/logging/filebeat.yml index eece903..3b54066 100644 --- a/logging/filebeat.yml +++ b/logging/filebeat.yml @@ -139,7 +139,7 @@ spec: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: filebeat + name: logging-filebeat subjects: - kind: ServiceAccount name: filebeat @@ -149,24 +149,6 @@ roleRef: name: filebeat apiGroup: rbac.authorization.k8s.io --- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: filebeat - labels: - app: filebeat -rules: -- apiGroups: - - "" - resources: - - namespaces - - pods - - nodes - verbs: - - get - - watch - - list ---- apiVersion: v1 kind: ServiceAccount metadata: