Skip to content

Commit

Permalink
add deprecation note for cronjob v1beta1 (hashicorp#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau authored Jan 9, 2024
1 parent 49af6bf commit 2566978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/r/cron_job.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2566978

Please sign in to comment.