Commit Graph

294 Commits (0bcbd99e1b32e51ffa16fd8030aa4c84673fb1f3)

Author SHA1 Message Date
Aaron Prindle 68973786d6 Added test coverage for ParseSHAFromURL 2017-02-21 21:33:40 -08:00
Matt Rickard 213857032a Merge pull request #1156 from r2d4/client-tests
Add test coverage for pkg/minikube/machine
2017-02-21 10:26:38 -08:00
Matt Rickard 45e61ab75a Add test coverage for pkg/minikube/machine 2017-02-21 10:26:10 -08:00
Aaron Prindle 3d91f91ede Merge pull request #1159 from aaron-prindle/downloader-tests
Added unit tests to downloader.go
2017-02-21 10:17:57 -08:00
Matt Rickard e0a5dbc4f8 Add test coverage for GenerateSignedCert 2017-02-21 10:16:59 -08:00
Aaron Prindle 6959aa0ce2 Added unit tests to downloader.go 2017-02-19 21:01:01 -08:00
Aaron Prindle ffcccbd646 Merge pull request #1145 from aaron-prindle/etcd-access
Change etcd to be accessible within pods
2017-02-17 15:41:44 -08:00
Aaron Prindle d3531c9eec Change etcd to be accessible within pods 2017-02-17 15:40:48 -08:00
Matt Rickard 88f8782d97 Merge pull request #1140 from r2d4/service-refactor
Refactor services into its own package
2017-02-17 15:39:36 -08:00
Matt Rickard 86b1fd1916 Refactor services into its own package
pkg/minikube/cluster has become too crowded with service related
functions.  I've moved these to their own package, which will make
updating client-go easier because everything will be in one place.

There is still a little bit of work to be done with making
pkg/minikube/cluster free of references to kubernetes packages
2017-02-17 09:58:22 -08:00
Davanum Srinivas 39df4cb543 Force libmachine to use Native Go SSH client
Some platforms looking up and finding the ssh executable can be
problematic, so let's just use the same Go based SSH everywhere.

Fixes #1086
2017-02-17 12:04:29 -05:00
Matt Rickard a125157f44 Detect and test against ISO changes
When changes are made to the ISO folder, rebuild and upload the newly
modified image.  Use this uploaded image as the default in the e2e test
binaries, so that the e2e test suite runs against the PR's changes.

TODO: Subsequent PRs (no changes to ISO) will still run against the
default version in the makefile.  We should figure out if we want to
always run tests against the "latest" image.
2017-02-14 13:42:20 -08:00
Matt Rickard 2410b268f7 Slim down driverGetter type
Remove unused driverName from this type
2017-02-13 10:58:09 -08:00
Aaron Prindle c418095c38 Added MINIKUBE_HOME env variable which sets .minikube directory 2017-02-09 11:07:44 -08:00
Matt Rickard d9355d89e7 Merge pull request #1074 from r2d4/release-iso
Add release-iso Makefile rule
2017-02-08 18:40:59 -08:00
Matt Rickard b9a115b3ae Add LocalClient to bypass RPC for drivers
This adds a new libmachine API implementation that skips RPC and instead
uses a vendored in driver directly.  This removes the need to download a
separate driver binary.  Currently, only the "core" drivers, and kvm are
supported as vendored in.  This means that xhyve is the only driver that
requires a separate binary for now.
2017-02-06 21:17:22 -08:00
Matt Rickard a080737eff Add release-iso Makefile rule
This also tracks the ISO version in the makefile and passes it with
ldflags to automatically bump the default version in the minikube
binary.
2017-02-03 12:01:32 -08:00
Matt Rickard 7ea9da0372 Merge pull request #1076 from dlorenc/iso
Bump the iso to 1.0.6
2017-02-02 14:25:25 -08:00
dlorenc e75daa5a8b Bump the iso to 1.0.6 2017-02-02 13:15:15 -08:00
Matt Rickard b638b101a2 Embed mock service interface from client-go
We use the default implementation by embedding fake.FakeServices which
implements ServiceInterface.
2017-02-02 10:56:51 -08:00
Matt Rickard 1fbd936b39 Move iso download funcs to interface for testing
Also reorg types found in cluster.go into types.go
2017-01-31 13:45:56 -08:00
Matt Rickard ceb25dfd43 Merge pull request #1054 from r2d4/meta-linter
Fixes from gometalinter
2017-01-31 11:58:34 -08:00
Matt Rickard dfdbc6a768 Fixes from gometalinter 2017-01-30 15:39:35 -08:00
Dan Lorenc d5febb60e5 Switch the default iso to v1.0.5, which I just built in Jenkins. 2017-01-30 13:34:09 -08:00
dlorenc d1accc36e2 Merge pull request #1048 from dlorenc/conncheck
Get rid of the default connchecker.
2017-01-27 10:20:09 -08:00
dlorenc 6b2d966bc6 Get rid of the default connchecker. 2017-01-26 13:42:14 -08:00
Matt Rickard a638cce9ba Check minimum disksize before creating minikube VM
We use docker/go-units for human readable disk sizes on the --disk-size
flag.  However, sometime a user use wrong syntax and specify a disk
size that they didn't mean.  Fixes #976
2017-01-19 11:55:03 -08:00
Matt Rickard e4df3abc6f Merge pull request #1015 from r2d4/addons-open
Fixes nil dereference on error and addons open
2017-01-19 11:40:27 -08:00
Matt Rickard 69c3b5b818 Fixes nil dereference on error and addons open
Some addons don't have a 'minikube addons open' endpoint defined, so
don't retry and wait for them.
2017-01-17 11:50:25 -08:00
Aaron Prindle 628835964f Updated minikube-iso to v1.0.3 to include a fix for Windows 2017-01-17 11:47:14 -08:00
Steve Sloka ae2ae8f23c Rename awsecr-creds to registry-creds & update version which now supports Google Registry 2017-01-13 10:54:30 -05:00
Jimmi Dyson 23a1e4ada4
Allow setting string slices in extra config 2017-01-12 12:10:53 +00:00
Matt Rickard 7e313451c1 Merge pull request #977 from r2d4/feature-gates
Support enabling alpha features with feature gates
2017-01-10 10:55:09 -08:00
Matt Rickard 89cdd44197 Support enabling alpha features with feature gates
This sets the feature gates on every kube-system component (apiserver,
kubelet, etc.)

Fixes #896
2017-01-09 13:55:39 -08:00
Matt Rickard 1c962e7e8f Update default ISO to v1.0.2 2017-01-09 11:28:24 -08:00
dlorenc d5c01e7ab3 Add a PodCIDR for kubenet. 2017-01-05 14:50:28 -08:00
dlorenc 903de1de51 Merge pull request #961 from dlorenc/enable
Add 'enable' to the systemd commands for localkube.
2017-01-05 14:16:04 -08:00
dlorenc df3395cef9 Also declare that localkube depends on the network being active. 2017-01-05 13:32:54 -08:00
Dan Lorenc 391b927712 Add 'enable' to the systemd commands for localkube. 2017-01-05 09:46:17 -08:00
Brandon L. Gauthier d28cea779d Added --keep-context flag for 'minikube start' 2017-01-03 17:56:06 -05:00
Xinbo Weng f91f428634 fix duplicated 'the' and some 'a/an' errors
Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>
2016-12-23 19:46:04 +08:00
Matt Rickard 427bde79ca Change default ISO to minikube-iso v1.0.1 (buildroot) 2016-12-20 15:34:07 -08:00
dlorenc f8d4a1c429 Merge pull request #935 from dlorenc/cfgtest
Add some unit tests for config.
2016-12-19 10:47:20 -08:00
dlorenc 18bca6f04c Merge pull request #934 from dlorenc/tests
Add some tests to our cert generation.
2016-12-19 10:47:04 -08:00
Dan Lorenc eef12a1403 Add some unit tests for config. 2016-12-17 11:08:44 -08:00
Dan Lorenc 17b7e8ae72 Add some tests to our cert generation. 2016-12-17 09:27:08 -08:00
Chris Broadfoot 922db9a8c6 pkg/minikube: fix uses of errors.Wrapf 2016-12-15 22:28:39 -08:00
dlorenc 01a029dc26 Add a cert generator with a larger timeout. 2016-12-15 13:36:45 -08:00
Aaron Prindle ab8e852e74 Merge pull request #838 from aaron-prindle/localkube-in-systemd
WIP Working on adding localkube to minikube-iso.  Need to add ability to …
2016-12-13 13:07:35 -08:00
Matt Rickard 12c5973fbf Manual changes for k8s v1.5.0-beta.1
The internal k8s client has now been taken out of the kubernetes repo
and is fully at k8s.io/client-go.  Minikube should only reference the
client-go library, while Localkube can continue to reference both
internal k8s components as well as client-go.

make gendocs
2016-12-13 11:21:44 -08:00