Commit Graph

11153 Commits (773e1f33669dac98175075fa1a934987b0650f55)

Author SHA1 Message Date
Dan Lorenc 03f22fab94 Transfer the built localkube binary to the VM.
Also cleanup the Makefile quite a bit. We not build localkube in docker on mac,
then use go-bindata to pack it up. Users will need go-bindata on their paths to build now,
though.
2016-05-12 11:47:57 -07:00
Dan Lorenc 5eaae409aa Working build, scp of localkube to the VM. 2016-05-12 10:12:34 -07:00
Dan Lorenc 92d0c94d7b Initial SSH transfer commit. 2016-05-11 23:55:34 -07:00
dlorenc 46fcb77943 Merge pull request #63 from dlorenc/vendor
Undo modifications to the vendor directory
2016-05-11 15:21:00 -10:00
Dan Lorenc a3fee8fd40 Remove unused portions of GenerateSelfSignedCert 2016-05-11 16:50:27 -07:00
Dan Lorenc 91c9898017 Undo modifications to the vendor directory, getting this upstreamed will be harder than I thought. 2016-05-11 16:17:38 -07:00
dlorenc 30b10f4fc7 Merge pull request #62 from dlorenc/certs
Fix certificate handling.
2016-05-11 11:21:52 -10:00
Dan Lorenc 4ed427b6ff Fix certificate handling.
Start now outputs the correct commands
We add all the IPs to the certificate at creation time.
The certificate is created with ClientAuth extension.
We copy the correct certificates.
2016-05-11 14:05:40 -07:00
dlorenc 09c1b40537 Merge pull request #60 from dlorenc/remove_weave
Add tests for the certificate generation code, and only generate if the IPs don't match.
2016-05-11 07:32:56 -10:00
Dan Lorenc c9b1939b57 Add a check for matching IPs and cert regeneration.
Add unit tests for cert generation and checking.
2016-05-11 10:25:22 -07:00
Dan Lorenc ba3c6d1133 Merge branch 'master' of github.com:kubernetes/minikube 2016-05-11 10:21:10 -07:00
dlorenc ffc6e77b14 Merge pull request #54 from luxas/remove_weave
Very large refactor of localkube
2016-05-11 07:19:58 -10:00
Dan Lorenc 420ccd3e9f Initial SSH transfer commit. 2016-05-10 16:15:42 -07:00
Lucas Käldström ba9646ed56 Added error handling for certs as commented 2016-05-10 21:06:06 +03:00
Lucas Käldström f94581f132 Remove easyrsa code from commands.go where minikube starts localkube 2016-05-10 19:54:07 +03:00
Lucas Käldström 0c05a831b4 Remove dependency on easyrsa; now localkube signs its own certs (including CA, which wasn't present earlier). Now serviceAccounts should work properly 2016-05-10 19:53:11 +03:00
Lucas Käldström a38a9037e2 Use utilnet for getting the host's public IP, which is more reliable. Also, switch to net.IP and net.IPNet flags for validation 2016-05-10 17:49:09 +03:00
Lucas Käldström 1fe8a53339 Store certs in the localkube dir 2016-05-10 15:42:40 +03:00
Lucas Käldström c12821809a Run gofmt 2016-05-09 23:37:46 +03:00
Lucas Käldström 4b3e673ac1 Create the kube-system namespace if it doesn't exist 2016-05-09 23:36:33 +03:00
Lucas Käldström e7cda1ce58 Very large refactor of localkube. Fixed lots of bugs, added flags and commands via cobra, extracted a simple interface for SimpleServer for all Kubernetes components, made DNS working again, created the type LocalkubeServer which holds all necessary data etc. 2016-05-09 23:35:57 +03:00
dlorenc 488e4dcc6e Merge pull request #48 from dlorenc/auth
Add certificate based authentication to localkube/minikube.
2016-05-08 21:12:25 -10:00
Dan Lorenc 5a8e107045 Make the localkube download support compression. 2016-05-09 00:10:04 -07:00
Dan Lorenc 182601a357 Fix formatting of instructions. 2016-05-08 16:36:40 -07:00
Dan Lorenc 70ab8a04c2 Make string formatting explicit. 2016-05-08 16:23:56 -07:00
dlorenc 380c645663 Merge pull request #41 from dlorenc/iso
Add scripts for building an iso
2016-05-08 15:52:01 -07:00
Dan Lorenc d550382f21 Add newlines. 2016-05-08 15:51:17 -07:00
Dan Lorenc e5d9602d7c Add --containerized flag. 2016-05-06 16:28:50 -07:00
Dan Lorenc 716cc2e5ec Fix tests. 2016-05-06 16:06:28 -07:00
Dan Lorenc 23d906b577 Remove weave. 2016-05-06 16:06:28 -07:00
Dan Lorenc 4f712bf3be Make localkube serve securely. 2016-05-06 16:05:42 -07:00
Dan Lorenc d59e054f92 Move script to it's own file. 2016-05-06 16:05:42 -07:00
Dan Lorenc d4227ab589 Add a flag for controlling the localkube binary location. 2016-05-06 16:05:42 -07:00
dlorenc 13e5937c02 Add code to setup authentication on the remote cluster.
This still relies on a modified localkube build, which should be
fixed when we merge localkube, before this gets merged in.
2016-05-06 16:05:42 -07:00
Dan Lorenc 18ca13b689 Check the SHA for the docker distribution. 2016-05-06 15:57:51 -07:00
dlorenc 6aea4d5062 Pin to a specific version of docker. 2016-05-06 15:57:51 -07:00
Dan Lorenc 7f2cac707b Initial iso build steps. 2016-05-06 15:57:51 -07:00
dlorenc 512703be7b Merge pull request #44 from dlorenc/container
Add a flag to control whether or not localkube runs in a container.
2016-05-05 21:00:55 -07:00
dlorenc cfb93eea90 Add a flag to control whether or not localkube runs in a container. 2016-05-05 21:00:14 -07:00
dlorenc 9ee08289c3 Merge pull request #45 from luxas/layout
Restructure the whole project, gofmt and improve the makefile
2016-05-05 09:23:22 -07:00
Lucas Käldström b3cc4d2bae Fix integration default path 2016-05-05 16:47:36 +03:00
Lucas Käldström 6b2d1ed1cd Restructure the whole project, gofmt and improve the makefile 2016-05-05 16:38:23 +03:00
dlorenc f0ad262636 Merge pull request #43 from dlorenc/make
Add a Makefile to replace build.sh and test.sh.
2016-05-04 19:38:59 -07:00
dlorenc c1ec8be301 Code review comments
Clean up PHONY's
Make localkube dynamic
Put test.sh script back
2016-05-04 15:29:50 -07:00
dlorenc d59fc4f9a9 Set GO15VENDOREXPERIMENT=1 2016-05-04 14:50:30 -07:00
dlorenc d8e2d8e2b7 Add a Makefile to replace build.sh and test.sh. 2016-05-04 14:45:06 -07:00
dlorenc 638bb3e843 Merge pull request #42 from dlorenc/misc
Update .gitignore and integration test for new build locations.
2016-05-04 14:40:39 -07:00
dlorenc 081a1851dd Update .gitignore and integration test for new build locations. 2016-05-04 14:31:32 -07:00
dlorenc 5f529ecbc1 Merge pull request #39 from ethernetdan/localkube
added localkube and dependencies
2016-05-04 13:30:42 -07:00
Dan Gillespie 28ec5304c9 updated README for new minikube build path 2016-05-04 11:31:27 -07:00