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 d0093ad2c7
commit b7fa43c2e3
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
substitute: substitute:
NAME: customers-dev NAME: customers-dev
NAMESPACE: customers NAMESPACE: customers
CONTROL_PLANE_REF_NAME: customers-dev-tw8tn CONTROL_PLANE_REF_NAME: customers-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: '["customers-api"]' API_AUDIENCE: '["customers-api"]'