fix: telegram webhook - HTTPRoute structure, kustomization, env var

- Fix HTTPRoute: merge backendRefs and matches into a single rule
  (was split across two rules, causing Telegram POSTs to be dropped)
- Add hermes-webhook.yaml to kustomization.yaml resources
  (was not applied during kustomize build at all)
- Clean up TELEGRAM_WEBHOOK_SECRET env var name (leading space)
This commit is contained in:
Hermes Agent 2026-05-10 01:18:34 +00:00
parent 7ea2069296
commit 584c38ff38
3 changed files with 8 additions and 7 deletions

View file

@ -10,3 +10,4 @@ resources:
# - hermes-service.yaml # - hermes-service.yaml
- new-deployment-rays.yaml - new-deployment-rays.yaml
- tele-webhook.yaml - tele-webhook.yaml
- ../../../../infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml

View file

@ -98,7 +98,7 @@ spec:
- name: TELEGRAM_WEBHOOK_URL - name: TELEGRAM_WEBHOOK_URL
value: "https://ws.siriusdevops.com/telegram/webhook/default" value: "https://ws.siriusdevops.com/telegram/webhook/default"
- name: TELEGRAM_WEBHOOK_SECRET - name: TELEGRAM_WEBHOOK_SECRET
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: telegram-webhook name: telegram-webhook

View file

@ -10,10 +10,10 @@ spec:
hostnames: hostnames:
- "ws.siriusdevops.com" - "ws.siriusdevops.com"
rules: rules:
- backendRefs:
- name: hermes-tele-webhook
port: 8645
- matches: - matches:
- path: - path:
type: PathPrefix type: PathPrefix
value: /telegram/webhook value: /telegram/webhook
backendRefs:
- name: hermes-tele-webhook
port: 8645