Skip to content

Commit

Permalink
Feature/fix inventory (#201)
Browse files Browse the repository at this point in the history
* Added APIARY_RW_METASTORE_URI to apiary_inventory_repair cron job in case instance_name is defined.
  • Loading branch information
mroark1m authored Aug 30, 2021
1 parent 63af892 commit 9f45ae6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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).

## [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`.
Expand Down
4 changes: 4 additions & 0 deletions k8s-cronjobs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f45ae6

Please sign in to comment.