-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Disable default hypervisors mounts + fix 9P path on Darwin #6806
Conversation
Welcome @starbassma! |
Hi @starbassma. 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: starbassma 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? |
/ok-to-test |
Error: running mkcmp: exit status 1 |
seems unrelated to the modifications |
@starbassma yah you can ignore mkcmp errors here |
@@ -190,7 +190,7 @@ func initKubernetesFlags() { | |||
// initDriverFlags inits the commandline flags for vm drivers | |||
func initDriverFlags() { | |||
startCmd.Flags().String("vm-driver", "", fmt.Sprintf("Driver is one of: %v (defaults to auto-detect)", driver.DisplaySupportedDrivers())) | |||
startCmd.Flags().Bool(disableDriverMounts, false, "Disables the filesystem mounts provided by the hypervisors") | |||
startCmd.Flags().Bool(disableDriverMounts, true, "Disables the filesystem mounts provided by the hypervisors") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this gonna break the Corp Cert Tutorial? https://minikube.sigs.k8s.io/docs/tutorials/untrusted_root_certificate/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it won't, certificates are copied through the api
"k8s.io/client-go/util/homedir" | ||
) | ||
|
||
// DefaultMountDir is the default mount directory for Darwin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment "For Darwin "
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -190,7 +190,7 @@ func initKubernetesFlags() { | |||
// initDriverFlags inits the commandline flags for vm drivers | |||
func initDriverFlags() { | |||
startCmd.Flags().String("vm-driver", "", fmt.Sprintf("Driver is one of: %v (defaults to auto-detect)", driver.DisplaySupportedDrivers())) | |||
startCmd.Flags().Bool(disableDriverMounts, false, "Disables the filesystem mounts provided by the hypervisors") | |||
startCmd.Flags().Bool(disableDriverMounts, true, "Disables the filesystem mounts provided by the hypervisors") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double negative sin the flags are tricky,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, should we consider renaming this flag ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes I would say lets rename this flag !
Codecov Report
@@ Coverage Diff @@
## master #6806 +/- ##
========================================
- Coverage 38.5% 38.3% -0.2%
========================================
Files 142 142
Lines 8695 8740 +45
========================================
Hits 3348 3348
- Misses 4927 4971 +44
- Partials 420 421 +1
|
All Times minikube: [ 92.772734 92.923790 92.800023] Average minikube: 92.832182 Averages Time Per Log
|
@@ -71,10 +71,17 @@ Some hypervisors, have built-in host folder sharing. Driver mounts are reliable | |||
| VirtualBox | macOS | /Users | /Users | | |||
| VirtualBox | Windows | C://Users | /c/Users | | |||
| VMware Fusion | macOS | /Users | /Users | | |||
| Xhyve | macOS | /Users | /Users | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The xhyve driver is not supported anymore, see 914713f
@starbassma: PR needs rebase. 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. |
I agree with this PR - but will close until it can be rebased. Please re-open it when it should be reviewed again. |
Hello,
this PR :
check
fixes #6788
Regards,