From eebb2b213c06c9eb5f7b7a356fff320ad2fda1c6 Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 22 May 2024 15:10:47 -0300 Subject: [PATCH] Upgrade deprecated APIs for CronJob --- charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml | 2 +- charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml b/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml index 65bac95..ebf83ab 100644 --- a/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml +++ b/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml @@ -1,6 +1,6 @@ {{- if .Values.instance.zeoclient }} {{- if and .Values.persistence.enabled .Values.repozo.enabled }} -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ include "portalmodelo.fullname" . }}-repozo diff --git a/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml b/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml index 66c17aa..f3a4834 100644 --- a/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml +++ b/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml @@ -1,6 +1,6 @@ {{- if .Values.instance.zeoclient }} {{- if .Values.instance.zeopack.enabled }} -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ include "portalmodelo.fullname" . }}-zeopack