fix(deploy): match Consul key name for Claude auth token
The Nomad template read blaaai/claude_oauth_token but the token was stored at blaaai/claude_auth_token, so CLAUDE_CODE_OAUTH_TOKEN rendered empty and CLI auth failed in prod.
This commit is contained in:
@@ -110,7 +110,7 @@ job "blaaai" {
|
||||
template {
|
||||
data = <<EOT
|
||||
# Subscription auth for the claude CLI (generate with `claude setup-token`)
|
||||
CLAUDE_CODE_OAUTH_TOKEN={{ key "blaaai/claude_oauth_token" }}
|
||||
CLAUDE_CODE_OAUTH_TOKEN={{ key "blaaai/claude_auth_token" }}
|
||||
# Kept for BLAAAI_BACKEND=api fallback
|
||||
ANTHROPIC_API_KEY={{ key "blaaai/anthropic_api_key" }}
|
||||
HARBOR_ROBOT_TOKEN={{ key "blaaai/harbor_robot_token" }}
|
||||
|
||||
Reference in New Issue
Block a user