Compare commits

...

2 Commits

Author SHA1 Message Date
hongming
253e2a5c33 Update Chart.yaml (#6230) 2024-10-18 14:36:42 +08:00
KubeSphere CI Bot
3798bcd452 [release-4.1] config/ks-core: fix the CronJob API version determination issue (#6229)
config/ks-core: fix the CronJob API version determination issue

Co-authored-by: Xinzhao Xu <z2d@jifangcheng.com>
2024-10-18 14:23:42 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ 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: 1.1.2
version: 1.1.3
# 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

View File

@@ -86,7 +86,7 @@ spec:
caBundle: {{ b64enc $ca.Cert }}
---
apiVersion: {{ if semverCompare ">=1.20.0" .Capabilities.KubeVersion.Version }}batch/v1{{ else }}batch/v1beta1{{end}}
apiVersion: {{ if semverCompare ">=1.21.0-0" .Capabilities.KubeVersion.Version }}batch/v1{{ else }}batch/v1beta1{{end}}
kind: CronJob
metadata:
name: restart-extensions-museum