You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The apiVersion for CronJobs in legacy/helmcharts/cli/templates/cronjob.yaml references the depreciated batch/v1beta1 version, which is no longer supported in v1.22+. Requesting an update to switch to using batch/v1 that is supported in active and maintained Kubernetes versions.
The text was updated successfully, but these errors were encountered:
Lagoon v2.12.x (released in Jan 2023) will support a minimum Kubernetes version of 1.21, so this change will be introduced then. For anyone needing backwards compatibility after that point 😱, they can always fork and add a semver comparison in there
{{- if semverCompare ">=1.21-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: batch/v1
{{- else -}}
apiVersion: batch/v1beta1
{{- end }}
build-deploy-tool/legacy/helmcharts/cli/templates/cronjob.yaml
Line 3 in a0a2b34
The apiVersion for CronJobs in
legacy/helmcharts/cli/templates/cronjob.yaml
references the depreciatedbatch/v1beta1
version, which is no longer supported in v1.22+. Requesting an update to switch to usingbatch/v1
that is supported in active and maintained Kubernetes versions.The text was updated successfully, but these errors were encountered: