forked from roger/k3s-cluster
fix hermes api not being reachable
This commit is contained in:
@@ -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>`.
|
||||||
|
|||||||
@@ -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>`.
|
||||||
|
|||||||
Reference in New Issue
Block a user