add gocardless secrets to finance-app env [ci skip]

This commit is contained in:
Viktor Barzin 2023-06-21 15:45:27 +00:00
parent d99f777485
commit b2e656c83e
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
5 changed files with 21 additions and 3 deletions

View file

@ -14,6 +14,8 @@ variable "oauth_google_client_secret" {}
variable "graphql_api_secret" {}
variable "db_connection_string" {
}
variable "gocardless_secret_id" {}
variable "gocardless_secret_key" {}
resource "kubernetes_namespace" "finance_app" {
@ -159,6 +161,14 @@ resource "kubernetes_deployment" "finance_app" {
name = "DEBUG_METRICS"
value = 1
}
env {
name = "GOCARDLESS_SECRET_ID"
value = var.gocardless_secret_id
}
env {
name = "GOCARDLESS_SECRET_KEY"
value = var.gocardless_secret_key
}
volume_mount {
name = "data"
mount_path = "/data"