[ci skip] f1-stream: add Discord token and channel env vars

This commit is contained in:
Viktor Barzin 2026-03-01 20:17:38 +00:00
parent 6c1dffbfd8
commit 78d5aeb5db
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,8 @@
variable "tls_secret_name" { type = string }
variable "nfs_server" { type = string }
variable "discord_user_token" { type = string }
variable "discord_f1_guild_id" { type = string }
variable "discord_f1_channel_ids" { type = string }
resource "kubernetes_namespace" "f1-stream" {
@ -52,6 +55,14 @@ resource "kubernetes_deployment" "f1-stream" {
port {
container_port = 8000
}
env {
name = "DISCORD_TOKEN"
value = var.discord_user_token
}
env {
name = "DISCORD_CHANNELS"
value = var.discord_f1_channel_ids
}
volume_mount {
name = "data"
mount_path = "/data"

Binary file not shown.