Websocket auth, pass access token in gke configs
This commit is contained in:
parent
4e20c4ac56
commit
c56a058a74
6 changed files with 49 additions and 11 deletions
|
@ -136,6 +136,11 @@ resource "kubernetes_deployment" "backend" {
|
|||
name = "PORT"
|
||||
value = var.backend_port
|
||||
}
|
||||
env {
|
||||
# Access key for backend
|
||||
name = "SUPER_SECRET_KEY"
|
||||
value = var.secret_key
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -205,6 +210,11 @@ variable "open_ai" {
|
|||
type = string
|
||||
}
|
||||
|
||||
variable "secret_key" {
|
||||
description = "Access key to secure backend endpoints"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "search_port" {
|
||||
description = "Port for searxng service"
|
||||
type = number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue