diff --git a/CHANGELOG.md b/CHANGELOG.md index c82ea95..f1122bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). +## [6.10.3] - 2021-08-30 +### Fixed +- Fixed problem with s3_inventory_repair cronjob when apiary instance_name is not empty. + ## [6.10.2] - 2021-08-18 ### Changed - Changed bucket policy for `deny_iamroles` to only deny "dangerous" actions, including `GetObject`. diff --git a/k8s-cronjobs.tf b/k8s-cronjobs.tf index a5e3efb..d556d2a 100644 --- a/k8s-cronjobs.tf +++ b/k8s-cronjobs.tf @@ -54,6 +54,10 @@ resource "kubernetes_cron_job" "apiary_inventory_repair" { name = "INSTANCE_NAME" value = local.instance_alias } + env { + name = "APIARY_RW_METASTORE_URI" + value = "thrift://${kubernetes_service.hms_readwrite[0].metadata[0].name}.${kubernetes_service.hms_readwrite[0].metadata[0].namespace}.svc.cluster.local:9083" + } env { name = "HIVE_METASTORE_LOG_LEVEL" value = var.hms_log_level