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 "") }} {{- 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