From 1ee4d66cfdce473928bd6359baca0e5845c813b1 Mon Sep 17 00:00:00 2001 From: Wenhao Zhou Date: Mon, 29 Aug 2022 15:25:01 +0800 Subject: [PATCH] delete the GlobalRole users-manager Signed-off-by: Wenhao Zhou --- .../prepare/files/ks-init/role-templates.yaml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/roles/ks-core/prepare/files/ks-init/role-templates.yaml b/roles/ks-core/prepare/files/ks-init/role-templates.yaml index 5180382a9..2b72bbbe8 100644 --- a/roles/ks-core/prepare/files/ks-init/role-templates.yaml +++ b/roles/ks-core/prepare/files/ks-init/role-templates.yaml @@ -375,25 +375,6 @@ spec: name: role-template-view-basic rules: [] ---- -apiVersion: iam.kubesphere.io/v1alpha2 -kind: GlobalRole -metadata: - annotations: - iam.kubesphere.io/aggregation-roles: '["role-template-view-users","role-template-manage-users","role-template-view-roles","role-template-manage-roles"]' - kubesphere.io/creator: admin - name: users-manager -rules: - - apiGroups: - - '*' - resources: - - users - - users/password - - users/loginrecords - - globalroles - verbs: - - '*' - --- apiVersion: iam.kubesphere.io/v1alpha2 kind: GlobalRole