Files
classic-models-agent-catalogue/k8s/configmap.yaml
T
Stéphane Tailland 023a89bf71 Rename back to catalogue-agent; stop owning the shared namespace
catalog-agent was one rename too aggressive: 'catalogue' is accepted, and the
Keycloak client, its audience scope and the Vault key that names it were never
renamed to match — leaving an inconsistency between what Kubernetes and
Keycloak call the same agent. Keycloak carries more weight to move, so this
side moves back.

k8s/namespace.yaml is out of this Kustomization's inventory. It was in
2026-08-31 when renaming the Kustomization pruned the old one — which owned
the namespace three agents share — and took all three down. A namespace shared
across repos should not be owned by any one of them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 15:12:25 +02:00

30 lines
1.3 KiB
YAML

# Everything here is an endpoint or a public identifier. The one secret the
# agent holds arrives through catalogue-agent-secrets; nothing in this file is
# sensitive, which is the point of keeping the split visible.
apiVersion: v1
kind: ConfigMap
metadata:
name: catalogue-agent-config
namespace: agents
data:
CATALOGUE_KEYCLOAK_REALM_URL: https://keycloak.sttlab.local/realms/classic-models
CATALOGUE_CLIENT_ID: classic-models-agent-catalogue
CATALOGUE_MCP_CATALOG_URL: https://catalog-dev.sttlab.local/catalog-mcp
CATALOGUE_MCP_SALES_URL: https://sales-dev.sttlab.local/sales-mcp
CATALOGUE_LLM_BASE_URL: https://llm-dev.sttlab.local/llm/v1
CATALOGUE_LLM_MODEL: google/gemini-3.7-flash
# Trust the lab CA rather than disabling verification. Mounted from the
# sttlab-ca ConfigMap.
CATALOGUE_CA_BUNDLE: /etc/sttlab-ca/ca.crt
# What other agents dial, so it is the Service DNS name and not the bind
# address. It is advertised in the Agent Card; get it wrong and A2A callers
# are pointed at nothing.
CATALOGUE_PUBLIC_URL: http://catalogue-agent.agents.svc.cluster.local:8080/
# The peer's Service name, overriding the default in config.py — set here so
# the rename took effect without rebuilding an image.
CATALOGUE_SUPPLY_URL: http://supply-agent.agents.svc.cluster.local:8080/