add gocardless secrets to finance-app env [ci skip]
This commit is contained in:
parent
d99f777485
commit
b2e656c83e
5 changed files with 21 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue