feat(n8n): inyectar TELEGRAM_BOT_TOKEN/CHAT_ID desde telegram-notify-infisical
Para que el workflow 'Health Check General' lea el token del bot de notificaciones via process.env en vez de hardcodearlo (rotación 2026-07-09). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
43c78246a8
commit
cbfb1ba039
@@ -45,6 +45,19 @@ spec:
|
||||
secretKeyRef:
|
||||
name: n8n-secret-infisical
|
||||
key: GETXAPI_TOKEN
|
||||
# Token del bot @chemavx_bot (notificaciones) — rotado 2026-07-09.
|
||||
# Lo consume el workflow "Health Check General" vía process.env,
|
||||
# ya no hardcodeado. Fuente: Infisical homelab/prod/telegram.
|
||||
- name: TELEGRAM_BOT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: telegram-notify-infisical
|
||||
key: TELEGRAM_BOT_TOKEN
|
||||
- name: TELEGRAM_CHAT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: telegram-notify-infisical
|
||||
key: TELEGRAM_CHAT_ID
|
||||
# n8n ≥1.x bloquea $env en expresiones por defecto; sin esto el nodo
|
||||
# HTTP del autopost no puede leer GETXAPI_TOKEN. Instancia single-user.
|
||||
- name: N8N_BLOCK_ENV_ACCESS_IN_NODE
|
||||
|
||||
Reference in New Issue
Block a user