-
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.2.0 to 6.3.1 #29807
Conversation
This comment has been minimized.
This comment has been minimized.
Failures seem related to K8s, will look into these tomorrow. |
Putting this on hold since there might be a regression affecting the client: fabric8io/kubernetes-client#4666 |
@manusa do you think it would make sense to run some of these Quarkus tests on the Fabric8 k8s Client side before releasing with the intent of catching issues like this? |
The regression has nothing to do with these failures. I haven't checked, but probably these are related to a change we did in the serialization generic behavior. If this is the case, then I'm still thinking what the best approach is. I will check which of these tests might make sense to move upstream too, but it's very likely that we have equivalent tests upstream. The problem is that we are doing subtle changes to the generic behavior in each release. Some of these changes can be tackled downstream so they won't affect users, and others need to be communicated to users. The tests in Quarkus allow us to detect and decide on that. |
👌🏼 |
Signed-off-by: Marc Nuri <[email protected]>
a788b39
to
f85e79d
Compare
Since Fabric8 Kubernetes Client 6.3, types are no longer automatically registered for deserialization. For automatic type registration an `META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource` SPI definition file needs to be provided instead with the Kubernetes Resources (Objects -HasMadata impls-) that need to be automatically registered in the KubernetesDeserializer. fabric8io/kubernetes-client#3923 Signed-off-by: Marc Nuri <[email protected]>
Since Fabric8 Kubernetes Client 6.3, types are no longer automatically registered for deserialization. To fix the test problems, I basically adapted the tests to expect a The basic implications from the current Kubernetes Client version is that YAMLs containing a ServiceBinding definition will no longer be deserialized into a ServiceBinding. For most usage cases this should be fine, but you should confirm if this is OK. |
@iocanel do we interact with any API server that uses |
No, but we do generate ServiceBinding resources and users may provide their own too. In the latter case we would need to Deserialize. Given the adoption of A SB this is no biggie. |
Ah, good point. But we should at least have an entry in the migration guide for people that do intend to do this |
For this case, Dekorate should provide the SPI definition file for the ServiceBinding class. This generates a file
This just reminded me that I need to add these 🤦 to the extension too. |
Signed-off-by: Marc Nuri <[email protected]>
Raised an issue on dekorate: dekorateio/dekorate#1116 |
Is this one good to go or we need to wait for the Dekorate upgrade? |
The dekorate fix is already merged in dekorate, so we could have a release later today. But I wouldn't mind letting it in even without the fix, I really doubt that there are users out there that bring their own |
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.
lgtm
Release changes: https://github.com/dekorateio/dekorate/releases/tag/3.2.0 Fix: quarkusio#29962 Relates: quarkusio#29807
Release changes: https://github.com/dekorateio/dekorate/releases/tag/3.2.0 Fix: quarkusio#29962 Relates: quarkusio#29807
Kubernetes Client 6.3.0 was just released: https://github.com/fabric8io/kubernetes-client/releases/tag/v6.3.0
Just speeding up the dependabot process to see if CI reports any issue.
/cc @metacosm