add oauth and add webhook handler fb token

This commit is contained in:
viktorbarzin 2021-02-27 19:31:40 +00:00
parent 5b742e5b70
commit 3203cf8910
5 changed files with 254 additions and 5 deletions

View file

@ -1,6 +1,7 @@
variable "tls_secret_name" {}
variable "webhook_secret" {}
variable "fb_verify_token" {}
resource "kubernetes_namespace" "webhook-handler" {
metadata {
@ -86,6 +87,10 @@ resource "kubernetes_deployment" "webhook_handler" {
name = "WEBHOOKSECRET"
value = var.webhook_secret
}
env {
name = "FBVerifyToken"
value = var.fb_verify_token
}
}
}
}