-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix kubeConfigPath #6568
Fix kubeConfigPath #6568
Conversation
Hi @anencore94. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: anencore94 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Can one of the admins verify this patch? |
36f7e42
to
4032f69
Compare
Codecov Report
@@ Coverage Diff @@
## master #6568 +/- ##
==========================================
+ Coverage 38.1% 38.12% +0.02%
==========================================
Files 137 137
Lines 8690 8685 -5
==========================================
Hits 3311 3311
+ Misses 4963 4958 -5
Partials 416 416
|
Fix to use kubeConfigPath by using kubeconfig.PathFromEnv function not from just $HOME/.kube/config Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com> Co-authored-by: woohhan <woohhan@gmail.com> Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
- change to use already present util function to set up kubeConfigPath Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com> Co-authored-by: woohhan <woohhan@gmail.com> Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
4032f69
to
eaa8891
Compare
@anencore94 I was hoping someone would make this PR ! thank you for doing it /ok-to-test |
All Times minikube: [ 92.858324 94.864848 92.499470] Average minikube: 93.407547 Averages Time Per Log
|
thank you @anencore94 |
* Fix to kubeConfigPath could be set from env Fix to use kubeConfigPath by using kubeconfig.PathFromEnv function not from just $HOME/.kube/config Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com> Co-authored-by: woohhan <woohhan@gmail.com> Signed-off-by: anencore94 <anencore94@kaist.ac.kr> * Delete redundant logic to get kubeConfigPath - change to use already present util function to set up kubeConfigPath Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com> Co-authored-by: woohhan <woohhan@gmail.com> Signed-off-by: anencore94 <anencore94@kaist.ac.kr> Co-authored-by: SOPHAL HONG <hongsophal.hsp@gmail.com> Co-authored-by: Woohyung Han <woohhan@gmail.com>
Some codes used kubeConfigPath just as $HOME/.kube/config,
but it may be different if KUBECONFIG env was set.
Thus, modify those codes to use kubeConfigPath by
using kubeconfig.PathFromEnv function.