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 Mar 27, 2024
1 parent 71980f4 commit 498b8a7
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 93 deletions.
7 changes: 0 additions & 7 deletions src/test/ks-core/templates/globalroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,6 @@ rules:
verbs:
- get
- list
- apiGroups:
- license.kubesphere.io
resources:
- licenses
verbs:
- get
- list
- apiGroups:
- cluster.kubesphere.io
resources:
Expand Down
2 changes: 2 additions & 0 deletions src/test/ks-core/templates/pre-upgrade-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ data:
local:
path: {{ .Values.upgrade.storage.local.path }}
{{- end }}
download: {{- toYaml .Values.upgrade.download | nindent 6 }}
skipValidator: {{ .Values.upgrade.skipValidator }}
jobs: {{- toYaml .Values.upgrade.jobs | nindent 6 }}
---
Expand Down
2 changes: 2 additions & 0 deletions src/test/ks-core/templates/prepare-upgrade-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ data:
local:
path: {{ .Values.upgrade.storage.local.path }}
{{- end }}
download: {{- toYaml .Values.upgrade.download | nindent 6 }}
skipValidator: {{ .Values.upgrade.skipValidator }}
jobs: {{- toYaml .Values.upgrade.jobs | nindent 6 }}
---
Expand Down
35 changes: 0 additions & 35 deletions src/test/ks-core/templates/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,41 +288,6 @@ webhooks:

---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
name: license.kubesphere.io
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
caBundle: {{ b64enc $ca.Cert | quote }}
service:
name: ks-controller-manager
namespace: kubesphere-system
path: /license-cluster-checker
port: 443
name: license-cluster-checker.kubesphere.io
failurePolicy: Ignore
matchPolicy: Exact
namespaceSelector: {}
objectSelector:
matchExpressions:
- key: cluster-role.kubesphere.io/host
operator: DoesNotExist
rules:
- apiGroups:
- cluster.kubesphere.io
apiVersions:
- v1alpha1
operations:
- CREATE
resources:
- clusters
scope: '*'
sideEffects: None
timeoutSeconds: 30
---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: defaulter.config.kubesphere.io
Expand Down
125 changes: 74 additions & 51 deletions src/test/ks-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ upgrade:
repository: kse/ks-upgrade
tag: ""
pullPolicy: Always
persistenceVolume:
name: ks-upgrade
storageClassName: ""
accessMode: ReadWriteOnce
size: 5Gi
storage:
s3:
endpoint: ""
Expand All @@ -312,6 +317,13 @@ upgrade:
secret_access_key: ""
local:
path: /tmp/ks-upgrade
download:
globalRegistryUrl: "oci://hub.kubesphere.com.cn/kse-extensions"
file: {}
http:
timeout: 20
oci: {}
skipValidator: false
persistenceVolume:
name: ks-upgrade
storageClassName: ""
Expand All @@ -335,7 +347,7 @@ upgrade:
name: "network"
version: "1.0.0"
namespace: "extension-network"
configMap: "network-extension-1.0.0-chart"
configMap: "extension-network-1.0.0-chart"
configMapKey: "charts.tgz"
configMapNamespace: "kubesphere-system"
chartsPath: ""
Expand All @@ -350,7 +362,7 @@ upgrade:
}
iam:
disabled: false
priority: 100
priority: 999
devops:
disabled: true
priority: 100
Expand Down Expand Up @@ -383,21 +395,10 @@ upgrade:
name: "storage-utils"
version: "1.0.0"
namespace: "extension-storage-utils"
configMap: "extension-storage-utils-1.0.0-chart"
configMapKey: "chart.tgz"
configMapNamespace: "kubesphere-system"
config: ""
clusterScheduling: null
chartsPath: ""
config: |
backend:
pvcAutoResizer:
commandArgs:
prometheusUrl: "http://prometheus-k8s.kubesphere-monitoring-system:9090"
installationMode: Multicluster
clusterScheduling:
placement:
clusterSelector:
matchLabels:
kubesphere.io/managed: "true"
dynamicOptions: {
"rerun": "false"
}
Expand Down Expand Up @@ -430,18 +431,11 @@ upgrade:
priority: 100
extensionRef:
name: "whizard-monitoring"
version: "1.0.0"
namespace: "extension-whizard-monitoring"
configMap: "extension-whizard-monitoring-1.0.0-chart"
configMapKey: "chart.tgz"
configMapNamespace: "kubesphere-system"
chartsPath: ""
version: "1.0.0-rc.5"
installationMode: Multicluster
clusterScheduling:
placement:
clusterSelector:
matchLabels:
kubesphere.io/managed: "true"
dynamicOptions:
rerun: false
updateCrds: true
springcloud:
disabled: true
priority: 100
Expand All @@ -454,6 +448,11 @@ upgrade:
configMapNamespace: "kubesphere-system"
chartsPath: ""
installationMode: Multicluster
clusterScheduling:
placement:
clusterSelector:
matchLabels:
kubesphere.io/managed: "true"
servicemesh:
disabled: true
priority: 100
Expand All @@ -466,14 +465,19 @@ upgrade:
configMapNamespace: "kubesphere-system"
chartsPath: ""
installationMode: Multicluster
clusterScheduling:
placement:
clusterSelector:
matchLabels:
kubesphere.io/managed: "true"
config: |
kiali:
prometheus_url: http://prometheus-k8s.kubesphere-monitoring-system.svc:9090
jaeger:
storage:
options:
es:
server-urls: https://opensearch-cluster-master.kubesphere-logging-system.svc:9200
server-urls: https://opensearch-cluster-data.kubesphere-logging-system.svc:9200
username: admin
password: admin
# secretName: jaeger-secret-opensearch
Expand Down Expand Up @@ -549,40 +553,24 @@ upgrade:
placement:
clusters:
- host
clusterSelector:
matchLabels:
node-role.kubernetes.io/master: ""

alerting:
whizard-alerting:
disabled: true
priority: 200
priority: 10
extensionRef:
name: "whizard-alerting"
version: "0.1.6"
namespace: "extension-whizard-alerting"
configMap: "extension-whizard-alerting-0.1.6-chart"
configMapKey: "chart.tgz"
configMapNamespace: "kubesphere-system"
chartsPath: ""
version: "0.1.9-rc.2"
installationMode: Multicluster
clusterScheduling:
placement:
clusterSelector:
matchLabels:
kubesphere.io/managed: "true"
dynamicOptions: {
"rerun": "false"
}
dynamicOptions:
rerun: false
updateCrds: true
kubeedge:
disabled: true
priority: 100
extensionRef:
name: "kubeedge"
version: "1.13.1"
namespace: "extension-kubeedge"
configMap: "extension-kubeedge-1.13.1-chart"
configMapKey: "chart.tgz"
configMapNamespace: "kubesphere-system"
chartsPath: ""
installationMode: Multicluster
clusterScheduling:
Expand Down Expand Up @@ -619,6 +607,11 @@ upgrade:
configMapNamespace: "kubesphere-system"
chartsPath: ""
installationMode: Multicluster
clusterScheduling:
placement:
clusterSelector:
matchLabels:
kubesphere.io/managed: "true"

whizard-auditing:
disabled: true
Expand All @@ -638,7 +631,7 @@ upgrade:
priority: 100
extensionRef:
name: "whizard-logging"
version: "0.1.0"
version: "0.1.1"
namespace: "kubesphere-logging-system"
configMap: "extension-whizard-logging-0.1.1-chart"
configMapKey: "chart.tgz"
Expand Down Expand Up @@ -677,6 +670,36 @@ upgrade:
matchLabels:
kubesphere.io/managed: "true"

whizard-telemerty:
disabled: true
priority: 100
extensionRef:
name: "whizard-telemerty"
version: "1.0.0-rc.0"
namespace: "extension-whizard-telemerty"
configMap: "extension-whizard-telemerty-1.0.0-rc.0-chart"
configMapKey: "chart.tgz"
configMapNamespace: "kubesphere-system"
chartsPath: ""
installationMode: HostOnly
clusterScheduling: {}

metrics-server:
disabled: true
priority: 100
extensionRef:
name: "metrics-server"
version: "0.7.0"
namespace: "extension-metrics-server"
configMap: "extension-metrics-server-0.7.0-chart"
configMapKey: "chart.tgz"
configMapNamespace: "kubesphere-system"
chartsPath: ""
installationMode: Multicluster
dynamicOptions: {
"rerun": "false"
}

ha:
enabled: false
# cache:
Expand Down Expand Up @@ -715,4 +738,4 @@ redisHA:
pullPolicy: IfNotPresent
persistence:
enabled: true
size: 2Gi
size: 2Gi

0 comments on commit 498b8a7

Please sign in to comment.