forked from roger/k3s-cluster
fix hermes api not being reachable
This commit is contained in:
@@ -109,6 +109,11 @@ spec:
|
|||||||
# to the agent as an OpenAI-compatible endpoint.
|
# to the agent as an OpenAI-compatible endpoint.
|
||||||
- name: API_SERVER_ENABLED
|
- name: API_SERVER_ENABLED
|
||||||
value: "true"
|
value: "true"
|
||||||
|
# Bind the gateway API on all interfaces so other pods can reach it
|
||||||
|
# via the Service (default is 127.0.0.1/loopback, which is unreachable
|
||||||
|
# cross-pod). Auth is still enforced via API_SERVER_KEY.
|
||||||
|
- name: API_SERVER_HOST
|
||||||
|
value: "0.0.0.0"
|
||||||
# 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>`.
|
||||||
|
|||||||
@@ -138,6 +138,11 @@ spec:
|
|||||||
# to the agent as an OpenAI-compatible endpoint.
|
# to the agent as an OpenAI-compatible endpoint.
|
||||||
- name: API_SERVER_ENABLED
|
- name: API_SERVER_ENABLED
|
||||||
value: "true"
|
value: "true"
|
||||||
|
# Bind the gateway API on all interfaces so other pods can reach it
|
||||||
|
# via the Service (default is 127.0.0.1/loopback, which is unreachable
|
||||||
|
# cross-pod). Auth is still enforced via API_SERVER_KEY.
|
||||||
|
- name: API_SERVER_HOST
|
||||||
|
value: "0.0.0.0"
|
||||||
# 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