Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Fix #1308 : upgrade kubernetes client to support OpenShift 3.9 and Kubernetes 1.8/1.9 #1361

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

rohanKanojia
Copy link
Member

@rohanKanojia rohanKanojia commented Aug 21, 2018

Fixes #1308 #1271

@rohanKanojia rohanKanojia added group/openshift OpenShift related issue target/4.0 PR for targeted to 4.0.x labels Aug 21, 2018
Copy link
Contributor

@rhuss rhuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks except the one comment I added. Could you please verify whether the change hostpath handling is as expected or maybe an issue with the kubernetes client ?

@@ -111,7 +111,7 @@ public void replicationControllerHandlerTest() {
assertFalse(replicationController.getSpec().getTemplate().getSpec().getVolumes().isEmpty());
assertEquals("test",replicationController.getSpec().getTemplate().getSpec().
getVolumes().get(0).getName());
assertEquals("/test/path",replicationController.getSpec().getTemplate()
assertEquals("path",replicationController.getSpec().getTemplate()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that you want to change the assert only ?

I mean, in before() you set up the path to "/test/path", so I'm not sure why you would expect a relative directory now in the generated objects.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I interchanged parameters here ;-) . Thanks for noticing 😄

Copy link
Contributor

@rhuss rhuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now 👍

@rhuss rhuss merged commit a2821c6 into fabric8io:master Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
group/openshift OpenShift related issue target/4.0 PR for targeted to 4.0.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants