fix hermes api not being reachable

This commit is contained in:
Roger Oriol
2026-07-26 17:19:20 +02:00
parent 5bb1066d0d
commit 707ec39291
2 changed files with 8 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ spec:
# cross-pod). Auth is still enforced via API_SERVER_KEY. # cross-pod). Auth is still enforced via API_SERVER_KEY.
- name: API_SERVER_HOST - name: API_SERVER_HOST
value: "0.0.0.0" value: "0.0.0.0"
# Distinct model id advertised on GET /v1/models. Without this both
# agents report "hermes-agent" and Open WebUI dedupes them, hiding one.
- name: API_SERVER_MODEL_NAME
value: "home-manager"
# NOTE: API_SERVER_KEY comes from the hermes-env Secret (via envFrom) # NOTE: API_SERVER_KEY comes from the hermes-env Secret (via envFrom)
# and is also seeded into /opt/data/.env by the init container. Clients # and is also seeded into /opt/data/.env by the init container. Clients
# (e.g. Open WebUI) authenticate with `Authorization: Bearer <key>`. # (e.g. Open WebUI) authenticate with `Authorization: Bearer <key>`.

View File

@@ -143,6 +143,10 @@ spec:
# cross-pod). Auth is still enforced via API_SERVER_KEY. # cross-pod). Auth is still enforced via API_SERVER_KEY.
- name: API_SERVER_HOST - name: API_SERVER_HOST
value: "0.0.0.0" value: "0.0.0.0"
# Distinct model id advertised on GET /v1/models. Without this both
# agents report "hermes-agent" and Open WebUI dedupes them, hiding one.
- name: API_SERVER_MODEL_NAME
value: "platform-engineer"
# NOTE: API_SERVER_KEY comes from the hermes-env Secret (via envFrom) # NOTE: API_SERVER_KEY comes from the hermes-env Secret (via envFrom)
# and is also seeded into /opt/data/.env by the init container. Clients # and is also seeded into /opt/data/.env by the init container. Clients
# (e.g. Open WebUI) authenticate with `Authorization: Bearer <key>`. # (e.g. Open WebUI) authenticate with `Authorization: Bearer <key>`.