diff --git a/apps/base/customer1/hermes-agent/kustomization.yaml b/apps/base/customer1/hermes-agent/kustomization.yaml index e17072f..c539e18 100644 --- a/apps/base/customer1/hermes-agent/kustomization.yaml +++ b/apps/base/customer1/hermes-agent/kustomization.yaml @@ -10,3 +10,4 @@ resources: # - hermes-service.yaml - new-deployment-rays.yaml - tele-webhook.yaml + - ../../../../infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml diff --git a/apps/base/customer1/hermes-agent/new-deployment.yaml b/apps/base/customer1/hermes-agent/new-deployment.yaml index 2fcece9..8b63d28 100644 --- a/apps/base/customer1/hermes-agent/new-deployment.yaml +++ b/apps/base/customer1/hermes-agent/new-deployment.yaml @@ -98,7 +98,7 @@ spec: - name: TELEGRAM_WEBHOOK_URL value: "https://ws.siriusdevops.com/telegram/webhook/default" - - name: TELEGRAM_WEBHOOK_SECRET + - name: TELEGRAM_WEBHOOK_SECRET valueFrom: secretKeyRef: name: telegram-webhook diff --git a/infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml b/infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml index a619254..72399aa 100644 --- a/infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml +++ b/infrastructure/gatewayapi/gateway-routes/hermes-webhook.yaml @@ -10,10 +10,10 @@ spec: hostnames: - "ws.siriusdevops.com" rules: - - backendRefs: - - name: hermes-tele-webhook - port: 8645 - matches: - - path: - type: PathPrefix - value: /telegram/webhook + - path: + type: PathPrefix + value: /telegram/webhook + backendRefs: + - name: hermes-tele-webhook + port: 8645