fix: set KonnectGatewayControlPlane endpoints after create - #3474
Draft
pmalek wants to merge 2 commits into
Draft
Conversation
pmalek
force-pushed
the
set-konnectgatewaycontrolplane-endpoints-after-create
branch
2 times, most recently
from
March 3, 2026 17:13
febdf72 to
c9975ee
Compare
pmalek
force-pushed
the
set-konnectgatewaycontrolplane-endpoints-after-create
branch
3 times, most recently
from
March 4, 2026 21:09
eac4b6f to
0899100
Compare
pmalek
force-pushed
the
set-konnectgatewaycontrolplane-endpoints-after-create
branch
from
March 17, 2026 09:10
0899100 to
2b8250c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Set the
KonnectGatewayControlPlaneendpoints immediately after create not waiting until next reconciliation and subsequent update inkong-operator/controller/konnect/reconciler_generic_type_specific.go
Lines 41 to 50 in 5dce811
This allows to get the
KonnectGatewayControlPlanestatus filled in the same reconciliation, not forcing the requeue and handling that inhandleTypeSpecific. Moreover this saves an API Konnect call (ops.GetControlPlaneByID) which was required there.Which issue this PR fixes
Fixes #
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as
ready to review:CHANGELOG.mdrelease notes have been updated to reflect significant changes