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 "") }}
|
||||
apiVersion: batch/v1beta1
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: imago
|
||||
|
|
@ -39,20 +39,20 @@ rules:
|
|||
- ""
|
||||
- apps
|
||||
resources:
|
||||
- pods
|
||||
- replicasets
|
||||
- statefulsets
|
||||
- pods
|
||||
- replicasets
|
||||
- statefulsets
|
||||
verbs:
|
||||
- list
|
||||
- list
|
||||
- apiGroups:
|
||||
- ""
|
||||
- batch
|
||||
resources:
|
||||
- cronjobs
|
||||
- cronjobs
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- update
|
||||
- get
|
||||
- list
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
- apps
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user