fix: support batch/v1
This commit is contained in:
parent
3792eaa844
commit
1804368bec
@ -1,4 +1,8 @@
|
||||
{{- if semverCompare ">=1.21-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
apiVersion: batch/v1
|
||||
{{- else -}}
|
||||
apiVersion: batch/v1beta1
|
||||
{{- end }}
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: {{ include "postfixadmin-fetchmail.fullname" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user