Change CronJob version to batch/v1

This commit is contained in:
Shrikant Sharat Kandula 2022-03-11 06:21:46 +05:30 committed by GitHub
parent b06b301093
commit 52c9c4105b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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