-
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
Run dashboard with internal kubectl if not in path #7299
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #7299 +/- ##
==========================================
- Coverage 37.47% 37.43% -0.04%
==========================================
Files 146 146
Lines 8870 8879 +9
==========================================
Hits 3324 3324
- Misses 5141 5150 +9
Partials 405 405
|
74d79f6
to
6d53c00
Compare
/ok-to-test |
Error: running mkcmp: exit status 1 |
I think the name "mustload" is quite ugly. Maybe should accept a kubernetes "version" instead ? func KubectlCommand(co mustload.ClusterController, args ...string) (*exec.Cmd, error) {
version := co.Config.KubernetesConfig.KubernetesVersion |
6d53c00
to
5b423ab
Compare
If "kubectl" is not in the PATH, then use the same cached binary as with the "minikube kubectl" command (version matching cluster).
5b423ab
to
5f95150
Compare
Tested this locally and it ran great. Thank you! |
If "kubectl" is not in the PATH, then use the same cached binary
as with the "minikube kubectl" command (version matching cluster).
Closes #7290