Skip to content

Commit

Permalink
Service Onboard to Logit.io (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkataChalla554 authored Jun 5, 2024
1 parent 3f778a7 commit f46c540
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions terraform/aks/application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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
}
3 changes: 2 additions & 1 deletion terraform/aks/config/qa.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
3 changes: 2 additions & 1 deletion terraform/aks/config/review.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
3 changes: 2 additions & 1 deletion terraform/aks/config/staging.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion terraform/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ variable "statuscake_alerts" {
type = map(any)
default = {}
}

variable "enable_logit" { default = false }
locals {
service_name = "teacher-relocation-payment"
version = "1.9.7"
Expand Down

0 comments on commit f46c540

Please sign in to comment.