- 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)
19 lines
385 B
YAML
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
|