Skip to content
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

Upgrade Mock Server TLS Version #3038

Closed
caramelomartins opened this issue Apr 23, 2021 · 13 comments
Closed

Upgrade Mock Server TLS Version #3038

caramelomartins opened this issue Apr 23, 2021 · 13 comments
Milestone

Comments

@caramelomartins
Copy link
Contributor

Hey!

I've noticed recently that KubernetesMockServer is currently hardcoded with TLS v1.0:

Given Oracle's recent deprecation of this in new JDK versions (https://www.oracle.com/java/technologies/javase/11-0-11-relnotes.html#JDK-8202343) would it be possible to upgrade this version to match the one that is in the Config, which is 1.2?

private TlsVersion[] tlsVersions = new TlsVersion[]{TLS_1_2};

Thanks for your time and thanks for your contributions in this awesome project!

Regards,
Hugo

@rohanKanojia
Copy link
Member

rohanKanojia commented Apr 23, 2021

Thanks for suggesting this. I think our project is at JDK8 right now. I think we need to discuss when we would like to switch to JDK11.

Would you like to create a PR for this?

@caramelomartins
Copy link
Contributor Author

Yeah, of course. I'll open one this weekend!

@skabashnyuk
Copy link
Contributor

We hit the same problem in Eclipse Che project eclipse-che/che#19641 on Github CI when the latest java 11.0.11_9 was used. As a temporary workaround, we just disable these tests. At this point, we use kubernetes-client 4.9.0. Would it be possible to backport this issue to 4.9.x or 4.x?

@skabashnyuk
Copy link
Contributor

skabashnyuk commented May 6, 2021

I think the time to adapt 4.13.x is similar to 5.x in Eclipse Che. So it has no sense since to backport this fix to 4.13. I'll work on 5.x and Eclipse Che here https://github.com/eclipse/che/pull/19744/files.

@AndrewGotz
Copy link

I think the time to adapt 4.13.x is similar to 5.x in Eclipse Che. So it has no sense since to backport this fix to 4.13. I'll work on 5.x and Eclipse Che here https://github.com/eclipse/che/pull/19744/files.

Hey @skabashnyuk. I would appreciate the backport to 4.13.x if its not to difficult? Are you saying it won't be backpatched to 4.13.x? Currently we are running into the same issue with our tests and upgrading to 4.13.x would be better for us instead of trying to jump all the way to 5.x. We are currently on 4.x libraries.

@skabashnyuk
Copy link
Contributor

Hey @skabashnyuk. I would appreciate the backport to 4.13.x if its not to difficult? Are you saying it won't be backpatched to 4.13.x? Currently we are running into the same issue with our tests and upgrading to 4.13.x would be better for us instead of trying to jump all the way to 5.x. We are currently on 4.x libraries.

I was talking about the Eclipse Che code. We managed to upgrade 4.9 -> 5.x

@AndrewGotz
Copy link

I just noticed this has been marked as https://github.com/fabric8io/kubernetes-client/milestone/28 no longer necessary for the 4.13.4 milestone.

I would say if possible this would be necessary for us at least @manusa @rohanKanojia can we confirm this is still going or not with 4.13.4?

@manusa
Copy link
Member

manusa commented May 19, 2021

Since no one else requested the back-port we just aborted the milestone.

If you're still interested we can backport this one. However, will need to wait until the 5.4.0 release (to be cut hopefully before the end of this week).

@AndrewGotz
Copy link

AndrewGotz commented Jun 15, 2021

Since no one else requested the back-port we just aborted the milestone.

If you're still interested we can backport this one. However, will need to wait until the 5.4.0 release (to be cut hopefully before the end of this week).

Hey I do believe we would want this backpatched if possible @manusa. I'm willing to wait as we are currently pointing this job at an older version of java so it passes which is not ideal.

@AndrewGotz
Copy link

Bumping this. @manusa @rohanKanojia Could we potentially get this backpatched if its not to much work? We temporarily downgraded java version to run these tests for one of our projects which is not ideal. Updating to the latest 5.x would also be a big undertaking at this time for our team.

@rohanKanojia
Copy link
Member

rohanKanojia commented Jun 30, 2021

@AndrewGotz : In 5.x major changes are only related to removal of Doneable and CustomResources. If you're not using these then migrating to 5.x might not be that involved effort.

If you're using these, then we might need to think about cutting another patch release.

@stale
Copy link

stale bot commented Sep 28, 2021

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Sep 28, 2021
@caramelomartins
Copy link
Contributor Author

I believe I have submitted a PR a few months ago to resolve this. Can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants