-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ke): set ControlPlaneRefValid
condition to false
#1414
Conversation
22daf7e
to
b0abd7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. One thing I think is worth pointing out is that we do not have an envtest
based test to check this functionality which I think we should add (similarly as it's being done in #1404 for DPs). I think it could be done in a separate PR.
What I think should be done in this PR is to add code for the TestKonnectExtension
integration test to test the changes here. WDYT?
Signed-off-by: Mattia Lavacca <[email protected]>
171a4ca
to
7fcd363
Compare
Signed-off-by: Mattia Lavacca <[email protected]>
7fcd363
to
a30b8ef
Compare
I've added an integration test. Let me know if that works for you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
ℹ️ I've changed the milestone for this to 1.6 as this is where this will land when merged. We'll want to backport it to 1.5 to get it there. |
* feat(ke): set ControlPlaneRefValid cond to false Signed-off-by: Mattia Lavacca <[email protected]> * test(integration): KonnectExtension CP not found Signed-off-by: Mattia Lavacca <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]>
* feat(ke): set ControlPlaneRefValid cond to false Signed-off-by: Mattia Lavacca <[email protected]> * test(integration): KonnectExtension CP not found Signed-off-by: Mattia Lavacca <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]> (cherry picked from commit 5aca26c)
* feat(ke): set ControlPlaneRefValid cond to false Signed-off-by: Mattia Lavacca <[email protected]> * test(integration): KonnectExtension CP not found Signed-off-by: Mattia Lavacca <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]> (cherry picked from commit 5aca26c)
* feat(ke): set ControlPlaneRefValid cond to false Signed-off-by: Mattia Lavacca <[email protected]> * test(integration): KonnectExtension CP not found Signed-off-by: Mattia Lavacca <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]> (cherry picked from commit 5aca26c)
* feat(ke): set ControlPlaneRefValid cond to false Signed-off-by: Mattia Lavacca <[email protected]> * test(integration): KonnectExtension CP not found Signed-off-by: Mattia Lavacca <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]> (cherry picked from commit 5aca26c) Co-authored-by: Mattia Lavacca <[email protected]>
What this PR does / why we need it:
If the
KonnectExtension
references the KE byNamespacedRef
, but the CP does not exist, theKonnectExtension
ControlPlaneRefValid
condition is not properly set. This PR fixes that.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.md
release notes have been updated to reflect significant changes