Skip to content

Commit

Permalink
Merge pull request #326 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 290c07f + e8a9393 commit 3490afc
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/test/ks-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.7
version: 0.3.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "v4.0.0-rc.1"
appVersion: "v4.0.0-rc.2"
11 changes: 9 additions & 2 deletions src/test/ks-core/templates/builtinroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ role:
aggregationRoleTemplates:
roleSelector:
matchLabels:
iam.kubesphere.io/scope: "namespace"
kubesphere.io/managed: "true"
apiVersion: iam.kubesphere.io/v1beta1
kind: Role
Expand Down Expand Up @@ -45,6 +46,7 @@ role:
matchLabels:
iam.kubesphere.io/aggregate-to-operator: ""
kubesphere.io/managed: "true"
iam.kubesphere.io/scope: "namespace"
apiVersion: iam.kubesphere.io/v1beta1
kind: Role
metadata:
Expand Down Expand Up @@ -98,6 +100,7 @@ role:
matchLabels:
iam.kubesphere.io/aggregate-to-viewer: ""
kubesphere.io/managed: "true"
iam.kubesphere.io/scope: "namespace"
apiVersion: iam.kubesphere.io/v1beta1
kind: Role
metadata:
Expand Down Expand Up @@ -126,8 +129,9 @@ metadata:
iam.kubesphere.io/scope: "workspace"
role:
aggregationRoleTemplates:
roleSelectors:
- matchLabels: {}
roleSelector:
matchLabels:
iam.kubesphere.io/scope: 'workspace'
templateNames:
- workspace-manage-workspace-settings
- workspace-view-workspace-settings
Expand Down Expand Up @@ -170,6 +174,7 @@ role:
roleSelector:
matchLabels:
iam.kubesphere.io/aggregate-to-regular: ""
iam.kubesphere.io/scope: "workspace"
templateNames:
- workspace-view-workspace-settings
apiVersion: iam.kubesphere.io/v1beta1
Expand Down Expand Up @@ -204,6 +209,7 @@ role:
roleSelector:
matchLabels:
iam.kubesphere.io/aggregate-to-self-provisioner: ""
iam.kubesphere.io/scope: "workspace"
templateNames:
- workspace-create-projects
- workspace-view-workspace-settings
Expand All @@ -229,6 +235,7 @@ role:
aggregationRoleTemplates:
roleSelector:
matchLabels:
iam.kubesphere.io/scope: "workspace"
iam.kubesphere.io/aggregate-to-viewer: ""
templateNames:
- workspace-view-projects
Expand Down
26 changes: 20 additions & 6 deletions src/test/ks-core/templates/roletemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,8 @@ metadata:
name: namespace-view-project-settings
spec:
description:
en: 'View project settings including project basic information, external access settings, network policies and resource quotas settings.'
zh: '查看项目设置,包括项目基本信息、外部访问设置、网络策略、资源配额等。'
en: 'View project settings including project basic information, external access settings and resource quotas settings.'
zh: '查看项目设置,包括项目基本信息、外部访问设置、资源配额等。'
displayName:
en: Project Settings Viewing
zh: '项目设置查看'
Expand All @@ -1230,6 +1230,20 @@ spec:
- 'namespaces'
verbs:
- 'get'
- apiGroups:
- 'resources.kubesphere.io'
resources:
- 'quotas'
- 'metrics'
verbs:
- 'list'
- apiGroups:
- ''
resources:
- 'limitranges'
verbs:
- 'list'


---
apiVersion: iam.kubesphere.io/v1beta1
Expand All @@ -1244,8 +1258,8 @@ metadata:
name: namespace-manage-project-settings
spec:
description:
en: 'Manage project settings including project basic information, external access settings, network policies and resource quotas settings.'
zh: '管理项目设置,包括项目基本信息、外部访问设置、网络策略、资源配额等。'
en: 'Manage project settings including project basic information, external access settings and resource quotas settings.'
zh: '管理项目设置,包括项目基本信息、外部访问设置、资源配额等。'
displayName:
en: Project Settings Management
zh: '项目设置管理'
Expand Down Expand Up @@ -1281,7 +1295,7 @@ spec:
- apiGroups:
- '*'
resources:
- members
- namespacemembers
- rolebindings
verbs:
- get
Expand Down Expand Up @@ -1311,7 +1325,7 @@ spec:
- apiGroups:
- '*'
resources:
- members
- namespacemembers
- rolebindings
verbs:
- '*'
Expand Down
1 change: 0 additions & 1 deletion src/test/ks-core/templates/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
name: admin
annotations:
iam.kubesphere.io/uninitialized: "true"
helm.sh/resource-policy: keep
iam.kubesphere.io/globalrole: "platform-admin"
spec:
email: admin@kubesphere.io
Expand Down
2 changes: 1 addition & 1 deletion src/test/ks-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## @param global.tag Global Docker image tag
global:
imageRegistry: registry.cn-beijing.aliyuncs.com
tag: v4.0.0-rc.1
tag: v4.0.0-rc.2
imagePullSecrets: []

## @section Common parameters
Expand Down

0 comments on commit 3490afc

Please sign in to comment.