Kubernetes-client: Issue with release 4.11.x

Created on 14 Sep 2020  Â·  10Comments  Â·  Source: fabric8io/kubernetes-client

Hello,

Could you check the release 4.11.x?
It looks like child modules in version 4.10.3 are pulled instead of 4.11.x.

Regards

Julien

Waiting on feedback

Most helpful comment

It sounds like stale .m2 to me. I had no problem with 4.11.x -> 4.12.0. If you are using IntelliJ IDEA, reload Maven projects.

All 10 comments

@jpiccaluga : Could you please elaborate? which child modules are you referring to? How can we reproduce this issue?

4.12.0 is already out. Could you check if this is happening with this release too?

Hello Marc,

Yes it looks like I have the same issue. After upgrading kubernetes-clients
to version 4.12, I cannot longer do a createOrReplace on Crd because
io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinition
not anymore in the classpath.
I also see in the dependency tree that kubernetes-clients to version 4.12
pull dependencies of version 4.10.3.

[image: image.png]

Regards

Julien

Le lun. 5 oct. 2020 à 12:30, Marc Nuri notifications@github.com a écrit :

4.12.0 is already out. Could you check if this is happening with this
release too?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/kubernetes-client/issues/2482#issuecomment-703545203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXMKH5IB3JGEX5VTLX7M7DSJGN3ZANCNFSM4RLKJIYQ
.

@jpiccaluga : Hi, Would it be possible for you to share a reproducer with us? We have an integration test which verifies creation of CustomResourceDefinition of apiextensions/v1beta1:

https://github.com/fabric8io/kubernetes-client/blob/579d9728635bb1346b3c4e97eff1cb517e0af249/kubernetes-itests/src/test/java/io/fabric8/kubernetes/CustomResourceDefinitionIT.java#L47-L75

@stanlyDoge : Hello, Did you face any issue like this when upgrading kubernetes-client in Strimzi to 4.12.0?

@jpiccaluga : What goal did you run exactly for dependency tree? When I'm running mvn dependency:tree, I'm not able to see any references to 4.10.3:

kubernetes-client : $ mvn dependency:tree | grep 4.10.3
kubernetes-client : $ 

It sounds like stale .m2 to me. I had no problem with 4.11.x -> 4.12.0. If you are using IntelliJ IDEA, reload Maven projects.

After analysing the effective pom of my project I found out that
org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR8 was
pulling version 4.10.3 of all ìo.fabric8:kubernetes-model-xxx. I fix it by declaringio.fabric8:kubernetes-client-bom:4.12.0 beforeorg.springframework.cloud:spring-cloud-dependencies:Hoxton.SR8`
in dependencyManagement.

Thx you for your support.

Le lun. 12 oct. 2020 à 17:35, Stanislav Knot notifications@github.com a
écrit :

It sounds like stale .m2 to me. I had no problem with 4.11.x -> 4.12.0

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/kubernetes-client/issues/2482#issuecomment-707193239,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXMKH7PD63USUYZ2XPOQO3SKMO5DANCNFSM4RLKJIYQ
.

@jpiccaluga : cool, Shall we close this issue then :-) ?

@rohanKanojia Yes we can close this issue.
Thx for your support ;-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iocanel picture iocanel  Â·  21Comments

rhuss picture rhuss  Â·  15Comments

jsimao71 picture jsimao71  Â·  15Comments

rainer-maierhofer picture rainer-maierhofer  Â·  20Comments

jkremser picture jkremser  Â·  22Comments