add oauth and add webhook handler fb token

This commit is contained in:
viktorbarzin 2021-02-27 19:31:40 +00:00
parent 0472785095
commit a1c2618187
No known key found for this signature in database
GPG key ID: 0EB088298288D958
7 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
}
}
}
}