You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wa...@apache.org on 2026/09/03 07:42:24 UTC
(skywalking-showcase) branch add-role created (now 2b3e2c7)
This is an automated email from the ASF dual-hosted git repository.
wankai123 pushed a change to branch add-role
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
at 2b3e2c7 add role: template-viewer
This branch includes the following new commits:
new 2b3e2c7 add role: template-viewer
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(skywalking-showcase) 01/01: add role: template-viewer
Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wankai123 pushed a commit to branch add-role
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
commit 2b3e2c7ac66130adbedcd934fd84ff79767794dc
Author: wankai123 <wa...@foxmail.com>
AuthorDate: Thu Sep 3 15:42:08 2026 +0800
add role: template-viewer
---
Makefile.in | 4 ++--
deploy/platform/kubernetes/values.yaml | 31 +++++++++++++++++++++++++++++--
2 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 17982ae..b69b5e1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,10 +38,10 @@ ES_IMAGE_TAG ?= 7.10.2
SW_OAP_IMAGE ?= ghcr.io/apache/skywalking/oap
# banyandb-tail-sampling needs the bydb.yml `pipeline` block, which lands in c66a476a (#13965).
-SW_OAP_IMAGE_TAG ?= 7903c44dacdab1dcbf7acf9c11bea75547bca594
+SW_OAP_IMAGE_TAG ?= e27cc276a42dfb34403d2d9dcc9eedfd5e64ef55
SW_UI_IMAGE ?= ghcr.io/apache/skywalking-horizon-ui
-SW_UI_IMAGE_TAG ?= ef3a161539d983bcabf25261ea2125562a7ecbe8
+SW_UI_IMAGE_TAG ?= 4622885bc70f621ae2d87b7725e4d2d065813116
SW_CLI_IMAGE ?= ghcr.io/apache/skywalking-cli/skywalking-cli:bce7faaabbd57ed1f40156af8a8eb6c3eccea4ae
SW_EVENT_EXPORTER_IMAGE ?= ghcr.io/apache/skywalking-kubernetes-event-exporter/skywalking-kubernetes-event-exporter:8a012a3f968cb139f817189afb9b3748841bba22
diff --git a/deploy/platform/kubernetes/values.yaml b/deploy/platform/kubernetes/values.yaml
index 878c417..d527fa0 100644
--- a/deploy/platform/kubernetes/values.yaml
+++ b/deploy/platform/kubernetes/values.yaml
@@ -209,7 +209,9 @@ skywalking:
roles: [ admin ]
- username: skywalking # password: skywalking
passwordHash: "$argon2id$v=19$m=65536,t=3,p=4$Zqj8HhQDqm8d5c2MipHYZw$BsaCnu4bdd4uadIldx3wwYLsdo47Thxb7Lv1MXpWG2Q"
- roles: [ viewer, maintainer ]
+ # `template-viewer` is defined under `rbac` below; it adds
+ # read-only access to the Dashboard-setup pages.
+ roles: [ viewer, maintainer, template-viewer ]
# Same two users, but with the hashes read from the horizon-secrets
# Secret instead of committed here. Swap to this (and uncomment
# `envFromSecret` above) for anything beyond a local demo:
@@ -221,7 +223,7 @@ skywalking:
# roles: [admin]
# - username: skywalking
# passwordHash: "${HORIZON_SKYWALKING_PASSWORD_HASH}"
- # roles: [ viewer, maintainer ]
+ # roles: [ viewer, maintainer, template-viewer ]
# Single sign-on, kept as a REFERENCE — commented out so the showcase
# ships with password login only. To enable it: uncomment the block,
# create the horizon-secrets Secret with the four client-credential
@@ -288,6 +290,31 @@ skywalking:
# # Workspace tenant without a claim naming which.
# roleByDomain:
# example.com: [maintainer]
+ # Roles. `builtinRoles: keep` layers this block ONTO the four built-ins
+ # (viewer / maintainer / operator / admin) instead of replacing them, so
+ # only what the showcase ADDS is written here and the built-ins keep
+ # tracking the image. Without `keep`, naming `roles` at all would drop
+ # every role not listed — `admin` included.
+ rbac:
+ builtinRoles: keep
+ roles:
+ # Read-only access to the six Dashboard-setup pages (overview
+ # templates, layer dashboards, translations, alert page, 3D infra
+ # map, global defaults): each opens with the stored configuration
+ # visible and every publish control disabled. No `:write` anywhere —
+ # the BFF refuses the write regardless of what the interface shows.
+ # Granted BESIDE `viewer` (see the `skywalking` user above) rather
+ # than alone: a user's verbs are the union of their roles', and
+ # `viewer` carries the data reads the reviewed dashboards render from.
+ template-viewer:
+ - overview-template:read
+ - layer-template:read
+ - translation:read
+ - alarm-setup:read
+ - infra-3d-setup:read
+ - setup:read
+ landingByRole:
+ template-viewer: /
# Login audit — a durable record of who signed in, on the Admin → Login audit
# page. NOT set here: the `banyandb` storage feature wires it (see the Makefile),
# because the liaison address it writes to is derived from $(RELEASE), and the