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 05944f716e
commit e42802ec5e
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 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