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 Jan 7, 2025
1 parent a55b087 commit 1ba2af2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
16 changes: 6 additions & 10 deletions src/test/ks-core/templates/builtinroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ role:
iam.kubesphere.io/scope: "workspace"
templateNames:
- workspace-view-workspace-settings
- workspace-view-members
- workspace-view-roles
apiVersion: iam.kubesphere.io/v1beta1
kind: WorkspaceRole
metadata:
Expand All @@ -181,16 +183,7 @@ role:
kubesphere.io/description: '{"zh": "查看企业空间设置。", "en": "View workspace settings."}'
iam.kubesphere.io/auto-aggregate: "true"
name: regular
rules:
- apiGroups:
- '*'
resources:
- workspaces
- workspacemembers
verbs:
- get
- list
- watch
rules: []

---
apiVersion: iam.kubesphere.io/v1beta1
Expand All @@ -208,6 +201,9 @@ role:
templateNames:
- workspace-create-projects
- workspace-view-workspace-settings
- workspace-view-members
- workspace-view-roles
- workspace-view-app-repos
apiVersion: iam.kubesphere.io/v1beta1
kind: WorkspaceRole
metadata:
Expand Down
2 changes: 1 addition & 1 deletion src/test/ks-core/templates/extension-museum.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.ksExtensionRepository.enabled }}
{{- if and (eq (include "role" .) "host") .Values.ksExtensionRepository.enabled }}

{{- $ca := genCA "self-signed-ca" 3650 }}
{{- $cn := printf "%s-extensions-museum" .Release.Name }}
Expand Down
7 changes: 5 additions & 2 deletions src/test/ks-core/templates/roletemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,8 @@ metadata:
iam.kubesphere.io/category: workspace-access-control
iam.kubesphere.io/scope: "workspace"
iam.kubesphere.io/aggregate-to-viewer: ""
iam.kubesphere.io/aggregate-to-self-provisioner: ""
iam.kubesphere.io/aggregate-to-regular: ""
kubesphere.io/managed: 'true'
name: workspace-view-members
spec:
Expand Down Expand Up @@ -1168,6 +1170,8 @@ metadata:
iam.kubesphere.io/category: workspace-access-control
iam.kubesphere.io/scope: "workspace"
iam.kubesphere.io/aggregate-to-viewer: ""
iam.kubesphere.io/aggregate-to-regular: ""
iam.kubesphere.io/aggregate-to-self-provisioner: ""
kubesphere.io/managed: 'true'
name: workspace-view-roles
spec:
Expand Down Expand Up @@ -1788,6 +1792,7 @@ metadata:
iam.kubesphere.io/category: workspace-app
iam.kubesphere.io/scope: workspace
kubesphere.io/managed: "true"
iam.kubesphere.io/aggregate-to-self-provisioner: ""
iam.kubesphere.io/aggregate-to-viewer: ""
name: workspace-view-app-repos
spec:
Expand Down Expand Up @@ -1818,7 +1823,6 @@ metadata:
iam.kubesphere.io/category: workspace-app
iam.kubesphere.io/scope: workspace
kubesphere.io/managed: "true"
iam.kubesphere.io/aggregate-to-self-provisioner: ""
iam.kubesphere.io/aggregate-to-admin: ""
name: workspace-manage-app-repos
spec:
Expand Down Expand Up @@ -1943,7 +1947,6 @@ metadata:
iam.kubesphere.io/category: workspace-app
iam.kubesphere.io/scope: workspace
kubesphere.io/managed: "true"
iam.kubesphere.io/aggregate-to-self-provisioner: ""
iam.kubesphere.io/aggregate-to-admin: ""
name: workspace-manage-app-templates
spec:
Expand Down

0 comments on commit 1ba2af2

Please sign in to comment.