This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
The following commit(s) were added to refs/heads/master by this push: new 80a18d1 Add endpoints resources to cluster role (#58) 80a18d1 is described below commit 80a18d1d475c82ccaace87f2dbe1c0bf22f2dedf Author: kezhenxu94 <kezhenx...@apache.org> AuthorDate: Sat Oct 24 15:30:20 2020 +0800 Add endpoints resources to cluster role (#58) According to https://github.com/apache/skywalking/issues/5706 , we need access role to the Endpoints resources --- chart/skywalking/templates/oap-clusterrole.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/skywalking/templates/oap-clusterrole.yaml b/chart/skywalking/templates/oap-clusterrole.yaml index 24d90c9..bb57848 100644 --- a/chart/skywalking/templates/oap-clusterrole.yaml +++ b/chart/skywalking/templates/oap-clusterrole.yaml @@ -25,9 +25,9 @@ metadata: heritage: "{{ .Release.Service }}" rules: - apiGroups: [""] - resources: ["pods"] + resources: ["pods", "endpoints"] verbs: ["get", "watch", "list"] - apiGroups: ["extensions"] resources: ["deployments", "replicasets"] verbs: ["get", "watch", "list"] -{{- end }} \ No newline at end of file +{{- end }}