Browse Source

Upgrade deprecated APIs for CronJob

master
Fábio Kaiser Rauber 7 months ago
parent
commit
eebb2b213c
  1. 2
      charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml
  2. 2
      charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml

2
charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml

@ -1,6 +1,6 @@
{{- if .Values.instance.zeoclient }} {{- if .Values.instance.zeoclient }}
{{- if and .Values.persistence.enabled .Values.repozo.enabled }} {{- if and .Values.persistence.enabled .Values.repozo.enabled }}
apiVersion: batch/v1beta1 apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: {{ include "portalmodelo.fullname" . }}-repozo name: {{ include "portalmodelo.fullname" . }}-repozo

2
charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml

@ -1,6 +1,6 @@
{{- if .Values.instance.zeoclient }} {{- if .Values.instance.zeoclient }}
{{- if .Values.instance.zeopack.enabled }} {{- if .Values.instance.zeopack.enabled }}
apiVersion: batch/v1beta1 apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: {{ include "portalmodelo.fullname" . }}-zeopack name: {{ include "portalmodelo.fullname" . }}-zeopack

Loading…
Cancel
Save