From 2566978d4920c0ad845ce99f6ef13911eccc8fd8 Mon Sep 17 00:00:00 2001 From: Mauricio Alvarez Leon <65101411+BBBmau@users.noreply.github.com> Date: Tue, 9 Jan 2024 09:26:12 -0800 Subject: [PATCH] add deprecation note for cronjob v1beta1 (#2392) --- website/docs/r/cron_job.html.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/r/cron_job.html.markdown b/website/docs/r/cron_job.html.markdown index 40b1b8b32c..a6da0f6838 100644 --- a/website/docs/r/cron_job.html.markdown +++ b/website/docs/r/cron_job.html.markdown @@ -15,6 +15,8 @@ description: |- Note: All CronJob `schedule` times are based on the timezone of the master where the job is initiated. For instructions on creating and working with cron jobs, and for an example of a spec file for a cron job, see [Kubernetes reference](https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/). +~> NOTE: With the release of Kubernetes v1.25, CronJob batch/v1beta1 has been removed. You can read more information about migrating to batch/v1 in the [Kubernetes 1.25 migration guide](https://kubernetes.io/docs/reference/using-api/deprecation-guide/#cronjob-v125). + ## Example Usage ```hcl