Files
kong-catalog-api/dev/flux-kustomization.yaml
T
Stéphane Tailland 20c72929a8 Follow the gateway Kustomization into the domain namespace
dependsOn still named flux-system, where the gateway Kustomization used to
live. It moved into the domain namespace so the feature team can reach it,
and a dependency naming the old location resolves to nothing — Flux
reported "dependency not found" and held this Kustomization not ready
rather than failing loudly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 14:45:20 +02:00

40 lines
1.4 KiB
YAML

apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: catalog-dev-api
namespace: catalog
spec:
interval: 10m
sourceRef:
kind: GitRepository
name: catalog-api-dev
path: ./kong
prune: true
dependsOn:
- name: catalog-dev-api-gateway
# The gateway Kustomization moved out of flux-system into this domain's
# namespace, where the team can reach it. A dependsOn that still named
# flux-system resolved to nothing and left this Kustomization not ready.
namespace: catalog
postBuild:
substitute:
NAME: catalog-dev
NAMESPACE: catalog
CONTROL_PLANE_REF_NAME: catalog-dev-cp
BACKEND_HOST: classic-models-api.classic-models.svc.cluster.local
OIDC_ISSUER: https://keycloak.sttlab.local/realms/classic-models
API_AUDIENCE: '["catalog-api"]'
API_SCOPES_REQUIRED: '["catalog:read"]'
BACKEND_AUDIENCE: '["classic-models-api"]'
BACKEND_SCOPES: '[]'
API_RATE_LIMIT_MINUTE: "60"
# The URI path is the collector's routing key: Fluent Bit tags the
# record `catalog` and turns that into the Loki label domain=catalog.
AUDIT_LOG_ENDPOINT: http://audit-log-collector.observability.svc.cluster.local/catalog
REST_HOSTNAME: catalog-dev.sttlab.local
MCP_AUDIENCE: '["mcp-catalog"]'
TOKEN_EXCHANGE_CLIENT_ID: kong-token-exchange-broker
substituteFrom:
- kind: Secret
name: catalog-token-exchange-broker