fix webhook envs and service
This commit is contained in:
parent
42dc470783
commit
e6a10d8c84
2 changed files with 9 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ spec:
|
||||||
args: ["gateway", "run", "--accept-hooks"]
|
args: ["gateway", "run", "--accept-hooks"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8642
|
- containerPort: 8642
|
||||||
- containerPort: 9118
|
- containerPort: 8644
|
||||||
env:
|
env:
|
||||||
- name: PATH
|
- name: PATH
|
||||||
value: "/home/hermes/.hermes/.local/bin:/opt/hermes/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
value: "/home/hermes/.hermes/.local/bin:/opt/hermes/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
|
@ -98,7 +98,7 @@ spec:
|
||||||
name: telegram-webhook
|
name: telegram-webhook
|
||||||
key: TELEGRAM_WEBHOOK_SECRET
|
key: TELEGRAM_WEBHOOK_SECRET
|
||||||
- name: WEBHOOK_PORT
|
- name: WEBHOOK_PORT
|
||||||
value: "9118"
|
value: "8644"
|
||||||
- name: OPENAI_BASE_URL
|
- name: OPENAI_BASE_URL
|
||||||
value: "http://openclaw-brain-service.customer1.svc.cluster.local:8000/v1"
|
value: "http://openclaw-brain-service.customer1.svc.cluster.local:8000/v1"
|
||||||
- name: HERMES_MODEL_PROVIDER
|
- name: HERMES_MODEL_PROVIDER
|
||||||
|
|
@ -175,8 +175,8 @@ spec:
|
||||||
app: hermes-agent
|
app: hermes-agent
|
||||||
ports:
|
ports:
|
||||||
- name: webhook
|
- name: webhook
|
||||||
port: 9118
|
port: 8644
|
||||||
targetPort: 9118
|
targetPort: 8644
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,8 @@ spec:
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- name: hermes-gateway
|
- name: hermes-gateway
|
||||||
port: 9118
|
port: 8644
|
||||||
|
- matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: /telegram/webhook
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue