-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Bump kubernetes-client-bom from 6.7.2 to 6.8.1 #34956
Conversation
89d6e43
to
ed52cc6
Compare
3007d5a
to
e920d32
Compare
This comment has been minimized.
This comment has been minimized.
e920d32
to
1392e33
Compare
Tried this PR locally, this is definitely not a backwards compatible change: some of my code doesn't compile anymore. |
Could you provide more details about your specific compilation failures? Is it related to the change of syntax in builders? Or in intermediate type signatures (fluents)? |
This comment has been minimized.
This comment has been minimized.
Yes, issues with intermediate signatures with fluents, things like |
You'll notice how these can be fixed if you check the changes in this PR. I'm not sure how we should document this in Quarkus to help user's migration |
Not that easy in my case… Then again, I can't already not read or understand the explicit type as it is. I applied the suggestion from my IDE and the type got changed to:
I mean, come on… that's completely not understandable (not that the original type was) but now it's significantly worse. I mean I wouldn't be able to make that change without assistance from the IDE. Not sure what we can do here but we're definitely not going in the right direction on this particular issue. |
I managed to get it dealt with by using |
From my standing point the pull request is ready (it included the 4.0.0 Dekorate bump one week ago) , not sure if it's expected for something else to be added. |
I have no objections, but I would like the PR rebased onto |
Signed-off-by: Marc Nuri <marc@marcnuri.com>
1392e33
to
4f62ede
Compare
I assume this is a somewhat breaking change, right? |
Yes, so probably for 3.5. |
@manusa minor nit picking but the commit message for the second commit is wrong: it should say dekorate, not kubernetes client bom. |
There are breaking changes with Sundrio generated classes (builders). They can be mostly tackled by using type inference or by following the approach I did in this PR (#34956 (comment)) (for intermediate variables). Also some builder methods are no longer available. However, they were already deprecated. I probably asked this internally (as I can't find the comment here). Maybe we want to add some entries for the migration process. |
Signed-off-by: Marc Nuri <marc@marcnuri.com>
4f62ede
to
cac2df1
Compare
Failing Jobs - Building cac2df1
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 17 #- Failing: extensions/smallrye-graphql/deployment
! Skipped: extensions/micrometer-registry-prometheus/deployment extensions/micrometer/deployment extensions/opentelemetry/deployment and 38 more 📦 extensions/smallrye-graphql/deployment✖
|
After this PR, when I use
my deployment config spec contains empty triggers and then when I adjust stuff and serialize it as
which prevents my rollout with |
nope, I got rid of triggers and still having issue (with the bump only), so it's not related to the triggers. |
cc/ @shawkins There were some changes in the serialization default behavior, let me try to find some references. |
fabric8io/kubernetes-client#5262 AFAIR setting the triggers to |
yeah, it did. and after that, diff on previously serialized and newly (after bump) serialized deployment config doesn't show changes. I have some other issue caused by this bump though, I don't know where so probably not right time to get you involved :-) Thanks for prompt answer. |
This will require bumping the Fabric8 Kubernetes Client version in Dekorate first.
The Dekorate dependency is also bumped to latest 4.0.0 which includes the 6.8.0 compatible Kubernetes Client dependency.
/cc @metacosm