gcloud-lab/infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml
Hermes Agent 584c38ff38 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)
2026-05-10 01:18:34 +00:00

19 lines
385 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: hermes-webhook
namespace: customer1
spec:
parentRefs:
- name: external-http-gateway
sectionName: https
hostnames:
- "ws.siriusdevops.com"
rules:
- matches:
- path:
type: PathPrefix
value: /telegram/webhook
backendRefs:
- name: hermes-tele-webhook
port: 8645