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 2ae60d724e
commit 14da60f9ec
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
substitute:
NAME: payments-dev
NAMESPACE: payments
CONTROL_PLANE_REF_NAME: payments-dev-bz6vs
CONTROL_PLANE_REF_NAME: payments-dev-cp
BACKEND_HOST: classic-models-api.classic-models.svc.cluster.local
OIDC_ISSUER: https://keycloak.sttlab.local/realms/classic-models
API_AUDIENCE: '["payments-api"]'