Skip to content

Commit

Permalink
update ks-core helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ks-ci-bot committed Mar 14, 2024
1 parent d94f478 commit 6221593
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/test/ks-core/templates/builtinroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "管理项目中的所有资源。", "en": "Manage all resources in the project."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: admin
rules:
Expand Down Expand Up @@ -53,7 +52,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "管理项目中除用户和角色之外的资源。", "en": "Manage resources other than users and roles in the project."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: operator
rules:
Expand Down Expand Up @@ -107,7 +105,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "查看项目中的所有资源。", "en": "View all resources in the project."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: viewer
rules:
Expand Down Expand Up @@ -150,7 +147,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "管理企业空间中的所有资源。", "en": "Manage all resources in the workspace."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: admin
rules:
Expand Down Expand Up @@ -183,7 +179,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "查看企业空间设置。", "en": "View workspace settings."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: regular
rules:
Expand Down Expand Up @@ -219,7 +214,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "查看企业设置、创建项目。", "en": "View workspace settings, create projects."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: self-provisioner
rules: []
Expand Down Expand Up @@ -249,7 +243,6 @@ role:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "查看企业空间中的所有资源。", "en": "View all resources in the workspace."}'
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: viewer
rules:
Expand Down
6 changes: 2 additions & 4 deletions src/test/ks-core/templates/clusterroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ metadata:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "管理集群中的所有资源。", "en": "Manage all resources in the cluster."}'
name: cluster-admin
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: cluster-admin
aggregationRoleTemplates:
roleSelector:
matchLabels:
Expand All @@ -31,9 +30,8 @@ metadata:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "查看集群中的所有资源。", "en": "View all resources in the cluster."}'
name: cluster-viewer
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: cluster-viewer
aggregationRoleTemplates:
roleSelector:
matchLabels:
Expand Down
4 changes: 1 addition & 3 deletions src/test/ks-core/templates/globalroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ rules:
apiVersion: iam.kubesphere.io/v1beta1
kind: GlobalRole
metadata:
labels:
iam.kubesphere.io/auto-aggregate: "true"
annotations:
iam.kubesphere.io/auto-aggregate: "true"
iam.kubesphere.io/rego-override: |-
package authz
default allow = false
Expand Down Expand Up @@ -168,7 +167,6 @@ metadata:
allowedScopes := ["Workspace","Namespace","Cluster"]
allowedScopes[_] == input.ResourceScope
}
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: platform-admin
aggregationRoleTemplates:
Expand Down

0 comments on commit 6221593

Please sign in to comment.