-
Notifications
You must be signed in to change notification settings - Fork 352
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
fix: The KameletBinding readiness condition should mirror its Integration one #3092
Conversation
Thanks for the quick turnaround @astefanutti |
Out of curiosity, will this backported to a 1.8.x maintenance branch? |
Here are the transitioning statuses in the happy-path scenario, where a status:
conditions:
- message: Integration "timer-binding" is in "Creating" phase
reason: Creating
status: "False"
type: Ready
phase: Creating status:
conditions:
- message: Integration "timer-binding" readiness condition is "False"
reason: DeploymentProgressing
status: "False"
type: Ready
phase: Ready status:
conditions:
- message: Integration "timer-binding" readiness condition is "True"
reason: DeploymentReady
status: "True"
type: Ready
phase: Ready |
The e2e tests that cover the above are added with 2b24202. |
the examples you provided the conditions are those materialized in the KameletBinding status right ? if an error occurs on the deployment, i.e. it will exceed the progress limit, will an error surface ? |
Right.
Yes. I didn't change the KameletBinding phases, but I'd be inclined to eventually change the
Yes, with that PR, the Deployment status surfaces transitively via the Integration readiness condition, into the KameletBinding readiness condition. |
So I guess at this point, to monitor the kamelet binding we can almost ignore the phase and only rely on the conditions right ? |
Right, in the KameletBinding case, that only has one condition, the phase is reduced to a condensed version of the readiness condition. |
Fixes #3091.
This follows up #2682 and #2719.
Release Note