Skip to content

Commit

Permalink
remove hms additional configure
Browse files Browse the repository at this point in the history
  • Loading branch information
JianLi-Expedia committed Aug 14, 2023
1 parent 0805f9a commit 7ac4210
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions k8s-housekeeper.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

resource "kubernetes_deployment" "apiary_hms_housekeeper" {
count = var.hms_instance_type == "k8s" && var.enable_hive_housekeeper ? 1 : 0
count = var.hms_instance_type == "k8s" && var.enable_hms_housekeeper ? 1 : 0
metadata {
name = "${local.hms_alias}-housekeeper"
namespace = var.metastore_namespace
Expand Down Expand Up @@ -183,15 +183,7 @@ resource "kubernetes_deployment" "apiary_hms_housekeeper" {
}
env {
name = "ENABLE_HIVE_LOCK_HOUSE_KEEPER"
value = var.enable_hive_housekeeper ? "true" : ""
}
dynamic "env" {
for_each = var.hms_additional_environment_variables

content {
name = env.key
value = env.value
}
value = var.enable_hms_housekeeper ? "true" : ""
}

liveness_probe {
Expand Down

0 comments on commit 7ac4210

Please sign in to comment.