Merge pull request #111 from sirius0xdev/fix/telegram-webhook
fix: telegram webhook - HTTPRoute structure, kustomization, env var
This commit is contained in:
commit
d98d03981e
3 changed files with 8 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue