Point the control-plane ref at the stable mirror CR

CONTROL_PLANE_REF_NAME held the random suffix the Gateway operator gives
its auto-created mirror CR, looked up by hand. Replacing the Konnect org
recreated those CRs under new suffixes, so the ref named an object that
no longer existed and the domain's Kong entities sat Programmed=False.

Name the ${NAME}-cp mirror declared in k8s-platform's dataplane-template
instead — derived from NAME, so it stays valid across Gateway
recreations and Konnect org changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Stéphane Tailland
2026-08-26 16:30:15 +02:00
parent 178e6c183a
commit 18a3a6488a
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
substitute: substitute:
NAME: sales-dev NAME: sales-dev
NAMESPACE: sales NAMESPACE: sales
CONTROL_PLANE_REF_NAME: sales-dev-pjdc7 CONTROL_PLANE_REF_NAME: sales-dev-cp
BACKEND_HOST: classic-models-api.classic-models.svc.cluster.local BACKEND_HOST: classic-models-api.classic-models.svc.cluster.local
OIDC_ISSUER: https://keycloak.sttlab.local/realms/classic-models OIDC_ISSUER: https://keycloak.sttlab.local/realms/classic-models
API_AUDIENCE: '["sales-api"]' API_AUDIENCE: '["sales-api"]'