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

Add defaults subcommand to minikube config #8143

Merged
merged 5 commits into from
May 18, 2020

Conversation

priyawadhwa
Copy link

@priyawadhwa priyawadhwa commented May 13, 2020

minikube config defaults PROPERTY_NAME will print out all acceptable default values for that property.

Currently only works for minikube config defaults driver which looks like this on Mac:

$ minikube config defaults driver
* virtualbox
* parallels
* vmwarefusion
* hyperkit
* vmware
* docker
* podman

$ minikube config defaults driver --output json
["virtualbox","parallels","vmwarefusion","hyperkit","vmware","docker","podman"]

Fixes #8127

cc @kschaab

Priya Wadhwa added 4 commits May 13, 2020 14:15
`minikube config defaults PROPERTY_NAME` will print out all acceptable default values for that property.

Currently only works for `minikube config defaults driver` which looks like this on Mac:

```
$ minikube config defaults driver
* virtualbox
* parallels
* vmwarefusion
* hyperkit
* vmware
* docker
* podman
```

This will be useful for clients that depend on minikube, like IDE extensions.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 13, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: priyawadhwa

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2020
@codecov-io
Copy link

Codecov Report

Merging #8143 into master will increase coverage by 0.09%.
The diff coverage is 57.89%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8143      +/-   ##
==========================================
+ Coverage   35.27%   35.36%   +0.09%     
==========================================
  Files         146      147       +1     
  Lines        9326     9364      +38     
==========================================
+ Hits         3290     3312      +22     
- Misses       5637     5651      +14     
- Partials      399      401       +2     
Impacted Files Coverage Δ
cmd/minikube/cmd/config/config.go 10.41% <ø> (ø)
cmd/minikube/cmd/config/defaults.go 57.89% <57.89%> (ø)

cmd/minikube/cmd/config/defaults.go Show resolved Hide resolved
Copy link
Member

@medyagh medyagh 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 to me

@medyagh
Copy link
Member

medyagh commented May 15, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 15, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
docker Driver

@priyawadhwa priyawadhwa dismissed afbjorklund’s stale review May 18, 2020 17:59

Review comment addressed

@priyawadhwa priyawadhwa merged commit 02cee02 into kubernetes:master May 18, 2020
@priyawadhwa priyawadhwa deleted the list branch May 18, 2020 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a command to list supported drivers
6 participants