add fb app token var to webhook_handler [CI SKIP]

This commit is contained in:
viktorbarzin 2021-03-09 21:43:14 +00:00
parent 81e3f47f18
commit c1e76449a4
No known key found for this signature in database
GPG key ID: 0EB088298288D958
5 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,7 @@ variable "tls_secret_name" {}
variable "webhook_secret" {}
variable "fb_verify_token" {}
variable "fb_page_token" {}
variable "fb_app_secret" {}
resource "kubernetes_namespace" "webhook-handler" {
metadata {
@ -88,6 +89,10 @@ resource "kubernetes_deployment" "webhook_handler" {
name = "WEBHOOKSECRET"
value = var.webhook_secret
}
env {
name = "FB_APP_SECRET"
value = var.fb_app_secret
}
env {
name = "FB_VERIFY_TOKEN"
value = var.fb_verify_token