You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by li...@apache.org on 2021/10/20 06:41:40 UTC

[skywalking-kubernetes] 01/01: Fix missing `nodes` resource permission

This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch mrproliu-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git

commit 0c99081b0660fb32081443917b939ba6b8353c1f
Author: mrproliu <74...@qq.com>
AuthorDate: Wed Oct 20 14:41:36 2021 +0800

    Fix missing `nodes` resource permission
---
 chart/skywalking/templates/oap-clusterrole.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/skywalking/templates/oap-clusterrole.yaml b/chart/skywalking/templates/oap-clusterrole.yaml
index 1f8810e..4adfc19 100644
--- a/chart/skywalking/templates/oap-clusterrole.yaml
+++ b/chart/skywalking/templates/oap-clusterrole.yaml
@@ -25,7 +25,7 @@ metadata:
     heritage: "{{ .Release.Service }}"
 rules:
 - apiGroups: [""]
-  resources: ["pods", "endpoints", "services"]
+  resources: ["pods", "endpoints", "services", "nodes"]
   verbs: ["get", "watch", "list"]
 - apiGroups: ["extensions"]
   resources: ["deployments", "replicasets"]