From 327cd6be9ca0267d7c4a6c4285f45c8ddddf80d7 Mon Sep 17 00:00:00 2001 From: zhangxinhui02 Date: Fri, 31 Oct 2025 17:48:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3helm=20chart=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84role=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/job-post-install/rbac-gen-adapter-cm.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helm-chart/templates/job-post-install/rbac-gen-adapter-cm.yaml b/helm-chart/templates/job-post-install/rbac-gen-adapter-cm.yaml index bfc9e081..1df08343 100644 --- a/helm-chart/templates/job-post-install/rbac-gen-adapter-cm.yaml +++ b/helm-chart/templates/job-post-install/rbac-gen-adapter-cm.yaml @@ -11,8 +11,11 @@ metadata: name: {{ .Release.Name }}-maibot-adapter-cm-gen-role namespace: {{ .Release.Namespace }} rules: + - apiGroups: [""] + resources: ["configmaps"] + verbs: ["get", "list", "create", "update", "patch"] - apiGroups: ["apps"] - resources: ["configmaps", "statefulsets"] + resources: ["statefulsets"] verbs: ["get", "list", "create", "update", "patch"] --- apiVersion: rbac.authorization.k8s.io/v1