Change CronJob version to batch/v1
This commit is contained in:
parent
b06b301093
commit
52c9c4105b
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if and .Values.autoupdate.enabled (ne .Values.autoupdate.scheduler "") }}
|
{{- if and .Values.autoupdate.enabled (ne .Values.autoupdate.scheduler "") }}
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: imago
|
name: imago
|
||||||
|
|
@ -39,20 +39,20 @@ rules:
|
||||||
- ""
|
- ""
|
||||||
- apps
|
- apps
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
- replicasets
|
- replicasets
|
||||||
- statefulsets
|
- statefulsets
|
||||||
verbs:
|
verbs:
|
||||||
- list
|
- list
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
- batch
|
- batch
|
||||||
resources:
|
resources:
|
||||||
- cronjobs
|
- cronjobs
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
- apps
|
- apps
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user