Skip to content

Commit

Permalink
Onboard service to Logit.io
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed May 24, 2024
1 parent 9d7a48e commit 5af3463
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions terraform/aks/application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module "web_application" {
kubernetes_secret_name = module.application_configuration.kubernetes_secret_name

docker_image = var.app_docker_image
enable_logit = var.enable_logit
max_memory = var.memory_max
replicas = var.replicas
web_external_hostnames = var.gov_uk_host_names
Expand Down Expand Up @@ -65,4 +66,5 @@ module "worker_application" {
probe_command = ["pgrep", "-f", "sidekiq"]
max_memory = var.worker_memory_max
replicas = var.worker_replicas
enable_logit = var.enable_logit
}
2 changes: 2 additions & 0 deletions terraform/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ variable "deploy_azure_backing_services" {
description = "Deploy real Azure backing services like databases, as opposed to containers inside of AKS"
}

variable "enable_logit" { default = false }

variable "enable_monitoring" {
type = bool
default = false
Expand Down
3 changes: 2 additions & 1 deletion terraform/aks/workspace_variables/development.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"service_short": "faltrn",
"app_key_vault": "s189t01-faltrn-dv-app-kv",
"inf_vault_name": "s189t01-faltrn-dv-inf-kv",
"key_vault_resource_group": "s189t01-faltrn-dv-rg"
"key_vault_resource_group": "s189t01-faltrn-dv-rg",
"enable_logit": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"contact_group": [288912]
}
},
"enable_logit": true,
"inf_vault_name": "s189t01-faltrn-pp-inf-kv",
"key_vault_resource_group": "s189t01-faltrn-pp-rg"
}
3 changes: 2 additions & 1 deletion terraform/aks/workspace_variables/review.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"enable_postgres_ssl": false,
"inf_vault_name": "s189t01-faltrn-rv-inf-kv",
"app_vault_name": "s189t01-faltrn-rv-app-kv",
"key_vault_resource_group": "s189t01-faltrn-rv-rg"
"key_vault_resource_group": "s189t01-faltrn-rv-rg",
"enable_logit": true
}
3 changes: 2 additions & 1 deletion terraform/aks/workspace_variables/test.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"service_short": "faltrn",
"app_key_vault": "s189t01-faltrn-ts-app-kv",
"inf_vault_name": "s189t01-faltrn-ts-inf-kv",
"key_vault_resource_group": "s189t01-faltrn-ts-rg"
"key_vault_resource_group": "s189t01-faltrn-ts-rg",
"enable_logit": true
}

0 comments on commit 5af3463

Please sign in to comment.