From 9e7bd053713344235c095f51254fbfdc8d948b6f Mon Sep 17 00:00:00 2001 From: John Niang Date: Mon, 4 Dec 2023 17:04:11 +0800 Subject: [PATCH] Fix the problem of incorrect role template for appstore (#49) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes the incorrect rule configuration of role template of app store. /kind bug ```release-note 修复应用管理角色失效的问题 ``` --- src/main/resources/extensions/store-role-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/extensions/store-role-template.yaml b/src/main/resources/extensions/store-role-template.yaml index 1aac6ea..1b097db 100644 --- a/src/main/resources/extensions/store-role-template.yaml +++ b/src/main/resources/extensions/store-role-template.yaml @@ -13,6 +13,6 @@ metadata: [ "role-template-manage-plugins", "role-template-manage-themes" ] rules: - apiGroups: [""] - resources: ["secret"] + resources: ["secrets"] resourceNames: ["halo-run-app-store-pat-secret"] verbs: ["create", "update", "get", "delete"]