Skip to content

Commit

Permalink
Merge pull request #325 from kubesphere/sync/ks-core
Browse files Browse the repository at this point in the history
Update ks-core helm chart
  • Loading branch information
wansir authored Aug 9, 2023
2 parents f04caa9 + ac7dd4b commit 290c07f
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 290c07f

Please sign in to comment.