You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/06/13 10:04:01 UTC
[skywalking-kubernetes] branch master updated: Adding the `configmap` into cluster role for oap init mode (#121)
This is an automated email from the ASF dual-hosted git repository.
wusheng 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 50fc481 Adding the `configmap` into cluster role for oap init mode (#121)
50fc481 is described below
commit 50fc4819a119706e4da9bcff9c55151a729406be
Author: mrproliu <74...@qq.com>
AuthorDate: Tue Jun 13 10:03:55 2023 +0000
Adding the `configmap` into cluster role for oap init mode (#121)
---
CHANGES.md | 1 +
chart/skywalking/templates/oap-clusterrole.yaml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.md b/CHANGES.md
index 3ef2a18..ed1ab04 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -8,6 +8,7 @@ Release Notes.
- Add helm chart for swck v0.7.0.
- Add `pprof` port export in satellite.
- Trunc the resource name in swck's helm chart to no more than 63 characters.
+- Adding the `configmap` into cluster role for oap init mode.
4.4.0
------------------
diff --git a/chart/skywalking/templates/oap-clusterrole.yaml b/chart/skywalking/templates/oap-clusterrole.yaml
index 591d5ec..86df6a5 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", "pods/log", "endpoints", "services", "nodes", "namespaces"]
+ resources: ["pods", "pods/log", "endpoints", "services", "nodes", "namespaces", "configmaps"]
verbs: ["get", "watch", "list"]
- apiGroups: ["extensions"]
resources: ["deployments", "replicasets"]