From 7b46d4fb6feeddc53b4545629c497be91530f9b6 Mon Sep 17 00:00:00 2001 From: Venkata Challa Date: Fri, 31 May 2024 14:18:10 +0100 Subject: [PATCH] Service Onboard to Logit.io --- terraform/aks/application.tf | 2 ++ terraform/aks/config/qa.tfvars.json | 3 ++- terraform/aks/config/review.tfvars.json | 3 ++- terraform/aks/config/staging.tfvars.json | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/terraform/aks/application.tf b/terraform/aks/application.tf index b73746cd..ffa92aaf 100644 --- a/terraform/aks/application.tf +++ b/terraform/aks/application.tf @@ -19,6 +19,7 @@ module "web_application" { probe_path = var.probe_path web_external_hostnames = var.gov_uk_host_names + enable_logit = var.enable_logit } module "application_configuration" { @@ -54,4 +55,5 @@ module "worker_application" { replicas = 1 command = ["/bin/sh", "-c", "./bin/worker-startup.sh"] probe_command = ["pgrep", "-f", "sidekiq"] + enable_logit = var.enable_logit } diff --git a/terraform/aks/config/qa.tfvars.json b/terraform/aks/config/qa.tfvars.json index 8f2bd01f..45490ddb 100644 --- a/terraform/aks/config/qa.tfvars.json +++ b/terraform/aks/config/qa.tfvars.json @@ -13,5 +13,6 @@ "gov_uk_host_names": [ "qa.get-a-teacher-relocation-payment.education.gov.uk" ], - "azure_enable_backup_storage": false + "azure_enable_backup_storage": false, + "enable_logit": true } diff --git a/terraform/aks/config/review.tfvars.json b/terraform/aks/config/review.tfvars.json index 35d7d4b8..cff0fadb 100644 --- a/terraform/aks/config/review.tfvars.json +++ b/terraform/aks/config/review.tfvars.json @@ -10,5 +10,6 @@ "enable_monitoring": false, "startup_command": ["/bin/sh", "-c", "./bin/app-startup.sh"], "replicas": 1, - "memory_max": "1Gi" + "memory_max": "1Gi", + "enable_logit": true } diff --git a/terraform/aks/config/staging.tfvars.json b/terraform/aks/config/staging.tfvars.json index fdd9fc56..9c052b4e 100644 --- a/terraform/aks/config/staging.tfvars.json +++ b/terraform/aks/config/staging.tfvars.json @@ -13,5 +13,6 @@ "gov_uk_host_names": [ "staging.get-a-teacher-relocation-payment.education.gov.uk" ], - "azure_enable_backup_storage": false + "azure_enable_backup_storage": false, + "enable_logit": true }