Skip to content

Commit

Permalink
Fix k8s read-only metastore to use RDS reader instance. (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: Raj Poluri <[email protected]>
  • Loading branch information
rpoluri and Raj Poluri authored Jun 2, 2022
1 parent 48677bb commit 24d31a6
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).

## [6.12.4] - 2022-06-03
### Fixed
- Fix k8s read-only metastore to use RDS reader instance.

## [6.12.3] - 2022-06-01
### Fixed
- Fixed SM policy & templates for resource apiary_mysql_master_credentials when external_database_host is in use.
Expand Down
2 changes: 1 addition & 1 deletion k8s-readonly.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ resource "kubernetes_deployment" "apiary_hms_readonly" {
}
env {
name = "MYSQL_DB_HOST"
value = var.external_database_host == "" ? join("", aws_rds_cluster.apiary_cluster.*.endpoint) : var.external_database_host
value = var.external_database_host == "" ? join("", aws_rds_cluster.apiary_cluster.*.reader_endpoint) : var.external_database_host
}
env {
name = "MYSQL_DB_NAME"
Expand Down

0 comments on commit 24d31a6

Please sign in to comment.