Files
classic-models-agent-catalogue/k8s/configmap.yaml
T
Stéphane Tailland 58325b470a Name the Kubernetes objects in English
catalogue-agent and approvisionnement-agent named a Deployment, a Service, an
Ingress and a Certificate in French, in an estate where nothing else is.

The peer URLs move with them, set through the existing per-environment override
so the rename takes effect without rebuilding an image; the defaults in the code
carry the same values for the next build.

The Keycloak client ids, the image names and the repository names are still
French. They are a separate, heavier move.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 09:12:46 +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 catalog-agent-secrets; nothing in this file is
# sensitive, which is the point of keeping the split visible.
apiVersion: v1
kind: ConfigMap
metadata:
name: catalog-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://catalog-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_APPROVISIONNEMENT_URL: http://supply-agent.agents.svc.cluster.local:8080/