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

JKube is not picking the right .kube/config file on windows when HOME env variable is set to a different location #1540

Closed
sunix opened this issue Jun 8, 2022 · 2 comments
Assignees
Labels
bug Something isn't working demoable Issues which can be demoed during the Sprint review meeting
Milestone

Comments

@sunix
Copy link
Member

sunix commented Jun 8, 2022

Description

We had 1 issue during a hackaton, some participant had JKube not being able to connect to the openshift cluster while they can connect with oc. I had figured out that these people had the HOME env variable pointing to a different location than their home folder.

Fix has to be done in the fabric8 kubernetes client, picking the home folder for .kube/config should behave like oc and kubectl:
https://github.com/fabric8io/kubernetes-client/blob/3eb9746c409e940dda0265cf4b6fec65ec69bfdb/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/Config.java#L841

Info

  • Eclipse JKube version :
  • Maven version (mvn -v) :

  • Kubernetes / Red Hat OpenShift setup and version :

  • If it's a bug, how to reproduce :

  • If it's a feature request, what is your use case :

  • Sample Reproducer Project : [GitHub Clone URL]

@manusa manusa moved this to In Progress in Eclipse JKube Jun 8, 2022
@sunix sunix moved this from In Progress to Review in Eclipse JKube Jun 13, 2022
@sunix sunix added bug Something isn't working demoable Issues which can be demoed during the Sprint review meeting labels Jun 13, 2022
@sunix sunix moved this from Review to Planned in Eclipse JKube Nov 23, 2022
@sunix sunix moved this from Planned to In Progress in Eclipse JKube Dec 19, 2022
@sunix sunix moved this from In Progress to Review in Eclipse JKube Dec 22, 2022
@sunix sunix moved this from Review to Done in Eclipse JKube Jan 3, 2023
@sunix sunix closed this as completed Jan 3, 2023
@sunix sunix reopened this Jan 3, 2023
@sunix sunix moved this from Done to Review in Eclipse JKube Jan 3, 2023
@sunix
Copy link
Member Author

sunix commented Jan 3, 2023

It should be fixed with fabric8io/kubernetes-client#4198
Should close it as soon as we include the next release of fabric8 it in JKube.

@sunix
Copy link
Member Author

sunix commented Jan 25, 2023

Fixed with #1988

@sunix sunix closed this as completed Jan 25, 2023
@github-project-automation github-project-automation bot moved this from Review to Done in Eclipse JKube Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working demoable Issues which can be demoed during the Sprint review meeting
Projects
None yet
Development

No branches or pull requests

2 participants