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 Aug 8, 2023
1 parent f04caa9 commit ac7dd4b
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 84 deletions.
4 changes: 2 additions & 2 deletions src/test/ks-core/templates/builtinroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ metadata:
role:
aggregationRoleTemplates:
roleSelectors:
- matchLabels: { }
- matchLabels: {}
templateNames:
- workspace-manage-workspace-settings
- workspace-view-workspace-settings
Expand Down Expand Up @@ -216,7 +216,7 @@ role:
labels:
iam.kubesphere.io/auto-aggregate: "true"
name: self-provisioner
rules: [ ]
rules: []

---
apiVersion: iam.kubesphere.io/v1beta1
Expand Down
2 changes: 2 additions & 0 deletions src/test/ks-core/templates/clusterroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterRole
metadata:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "管理集群中的所有资源。", "en": "Manage all resources in the cluster."}'
name: cluster-admin
aggregationRoleTemplates:
roleSelector:
Expand All @@ -27,6 +28,7 @@ kind: ClusterRole
metadata:
annotations:
kubesphere.io/creator: system
kubesphere.io/description: '{"zh": "查看集群中的所有资源。", "en": "View all resources in the cluster."}'
name: cluster-viewer
aggregationRoleTemplates:
roleSelector:
Expand Down
18 changes: 1 addition & 17 deletions src/test/ks-core/templates/roletemplate-categories.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{ if eq .Values.role "host" }}
---
apiVersion: iam.kubesphere.io/v1beta1
kind: Category
Expand Down Expand Up @@ -90,20 +89,6 @@ spec:
en: Cluster Settings
zh: '集群设置'

---
apiVersion: iam.kubesphere.io/v1beta1
kind: Category
metadata:
labels:
iam.kubesphere.io/scope: "cluster"
kubesphere.io/managed: 'true'
name: cluster-network-management
spec:
displayName:
en: Network
zh: '网络'


---
apiVersion: iam.kubesphere.io/v1beta1
kind: Category
Expand Down Expand Up @@ -232,5 +217,4 @@ metadata:
spec:
displayName:
en: Project Settings
zh: '项目设置'
{{ end }}
zh: '项目设置'
Loading

0 comments on commit ac7dd4b

Please sign in to comment.