From 219ca91ba64a7d284a1d05e78bead58acc874f07 Mon Sep 17 00:00:00 2001 From: Jan Fuhrer Date: Mon, 8 Aug 2022 17:55:02 +0200 Subject: [PATCH] update CronJob apiVersion (#117) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update CronJob apiVersion Signed-off-by: Jan Fuhrer * bump chart version, update prerequisites Signed-off-by: Jan Fuhrer Co-authored-by: André Bauer --- charts/mysqldump/Chart.yaml | 2 +- charts/mysqldump/README.md | 2 +- charts/mysqldump/templates/cron.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/mysqldump/Chart.yaml b/charts/mysqldump/Chart.yaml index 8e684cc6..ce4f24e7 100644 --- a/charts/mysqldump/Chart.yaml +++ b/charts/mysqldump/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 5.1.0 +version: 6.0.0 appVersion: v3.0.16 description: A Helm chart to help backup MySQL databases using mysqldump name: mysqldump diff --git a/charts/mysqldump/README.md b/charts/mysqldump/README.md index a468a5da..212abccc 100644 --- a/charts/mysqldump/README.md +++ b/charts/mysqldump/README.md @@ -15,7 +15,7 @@ This chart helps set up a cronjob or one time job to backup a MySQL database wit ## Prerequisites -- Kubernetes 1.16 +- Kubernetes 1.21 - Helm 3.0 ## Installing the Chart diff --git a/charts/mysqldump/templates/cron.yaml b/charts/mysqldump/templates/cron.yaml index bd3df9c1..6c1c9ab5 100644 --- a/charts/mysqldump/templates/cron.yaml +++ b/charts/mysqldump/templates/cron.yaml @@ -1,5 +1,5 @@ {{- if ne .Values.schedule "now" -}} -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ template "mysqldump.fullname" . }}