Skip to content

Commit

Permalink
fix: update cronjob api to v1 version (#268)
Browse files Browse the repository at this point in the history
Co-authored-by: janli <[email protected]>
  • Loading branch information
githubjianli and JianLi-Expedia authored Aug 14, 2024
1 parent 66451df commit f52f432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [7.2.3] - 2024-08-14
### Fixed
- Changed terraform cron job api from `kubernetes_cron_job` to `kubernetes_cron_job_v1` to compatible with eks v1.25 and later.

## [7.2.2] - 2024-07-24
### Fixed
- [Issue 266](https://github.com/ExpediaGroup/apiary-data-lake/issues/266) Apiary bucket policies over-enforce encryption
Expand Down
2 changes: 1 addition & 1 deletion k8s-cronjobs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the Apache License, Version 2.0 (the "License");
*/

resource "kubernetes_cron_job" "apiary_inventory" {
resource "kubernetes_cron_job_v1" "apiary_inventory" {
count = (var.s3_enable_inventory && var.hms_instance_type == "k8s") ? 1 : 0
metadata {
name = "${local.instance_alias}-s3-inventory"
Expand Down

0 comments on commit f52f432

Please sign in to comment.