add env env variable to finance app to know if prod or not [ci skip]

This commit is contained in:
Viktor Barzin 2023-10-28 14:21:47 +00:00
parent 8258bedabe
commit 272169b1b2
2 changed files with 16 additions and 0 deletions

View file

@ -95,6 +95,10 @@ resource "kubernetes_deployment" "finance_app" {
name = "finance-app"
image_pull_policy = "Always"
env {
name = "ENVIRONMENT"
value = "prod"
}
env {
name = "DB_CONNECTION_STRING"
value = var.db_connection_string