Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ks-core helm chart #367

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6.8
version: 0.6.9

# 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.1.0-alpha.1"
appVersion: "v4.1.0-beta.0"
10 changes: 10 additions & 0 deletions src/test/ks-core/files/extensions.customresourcefilters.rego
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ match if {
installStatusMatch
}

match if {
installStatusSearch
installedStatusMatch
}

match if {
enabledStatusSearch
enabledStatusMatch
Expand Down Expand Up @@ -67,6 +72,11 @@ installStatusMatch if {
lower(input.object.status.state) == lower(input.filter.value)
}

installedStatusMatch if {
input.filter.value == "installed"
["Installed","Enabled","Disabled"][_] == input.object.status.state
}

enabledStatusMatch if {
input.filter.value == "true" == input.object.status.enabled
}
11 changes: 0 additions & 11 deletions src/test/ks-core/templates/clusterrole-ks-app-helminstaller.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion src/test/ks-core/templates/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,10 @@ webhooks:
failurePolicy: Ignore
matchPolicy: Exact
namespaceSelector: {}
objectSelector: {}
objectSelector:
matchExpressions:
- key: cluster-role.kubesphere.io/host
operator: DoesNotExist
rules:
- apiGroups:
- cluster.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.1.0-alpha.1
tag: v4.1.0-beta.0
imagePullSecrets: []

## @param nameOverride String to partially override common.names.fullname
Expand Down
Loading