add cli client for repo

This commit is contained in:
viktorbarzin 2021-03-15 23:32:56 +00:00
parent 143ea1f6ea
commit 70d306d0d2
9 changed files with 339 additions and 0 deletions

View file

@ -4,6 +4,8 @@ variable "webhook_secret" {}
variable "fb_verify_token" {}
variable "fb_page_token" {}
variable "fb_app_secret" {}
variable "git_user" {}
variable "git_token" {}
resource "kubernetes_namespace" "webhook-handler" {
metadata {
@ -105,6 +107,14 @@ resource "kubernetes_deployment" "webhook_handler" {
name = "CONFIG"
value = "./chatbot/config/viktorwebservices.yaml"
}
env {
name = "GIT_USER"
value = var.git_user
}
env {
name = "GIT_TOKEN"
value = var.git_token
}
}
}
}