mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-22 10:19:21 +07:00
fix(external): fix cloudflared credentials format
This commit is contained in:
parent
ec8ee97ad6
commit
404d53b0ed
6
external/cloudflare.tf
vendored
6
external/cloudflare.tf
vendored
@ -60,11 +60,11 @@ resource "kubernetes_secret" "cloudflared_credentials" {
|
||||
}
|
||||
|
||||
data = {
|
||||
"credentials.json" = base64encode(jsonencode({
|
||||
AccountTag = "" # TODO account_id
|
||||
"credentials.json" = jsonencode({
|
||||
AccountTag = var.cloudflare_account_id
|
||||
TunnelName = cloudflare_argo_tunnel.homelab.name
|
||||
TunnelID = cloudflare_argo_tunnel.homelab.id
|
||||
TunnelSecret = base64encode(random_password.tunnel_secret.result)
|
||||
}))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user