Commit Graph

4527 Commits (be58227d56031bad6c903ae95ad2e8d3cb75a024)

Author SHA1 Message Date
Dan Lorenc 7d39206842 Fix test, also attempt to fix travis. 2016-05-14 11:18:13 -07:00
Dan Lorenc 62813737a6 This statically compiles socat so it actually works in our iso. 2016-05-14 11:13:12 -07:00
dlorenc a9f97ec2dc Merge pull request #77 from dlorenc/master
Fix make clean.
2016-05-14 10:43:29 -07:00
Dan Lorenc a7fd82e28a Unhide flag. 2016-05-14 10:35:44 -07:00
Dan Lorenc 0ad6e3aa3a Fix make clean. 2016-05-14 10:27:58 -07:00
Lucas Käldström 32e4c9d26b Merge pull request #74 from dlorenc/updatek8s
Update kubernetes components to head
2016-05-14 20:16:51 +03:00
Dan Lorenc 215d1eca92 Remove unused files. 2016-05-14 09:58:44 -07:00
Dan Lorenc f0fdf425c3 Integration test to verify cluster components are healthy. 2016-05-14 09:54:47 -07:00
dlorenc cac6d07a5d Make the ISO url configurable for testing new ISO builds.
Also delete the old flag, since it's unused.
2016-05-13 15:15:08 -07:00
dlorenc 1884f8acf1 Blow away godeps.json, re "godep save". 2016-05-13 14:55:15 -07:00
dlorenc e7fb68b590 First attempt at updating k8s. 2016-05-13 14:05:27 -07:00
Dan Gillespie 77c1d0ce61 changed kubeconfig setup to single line if 2016-05-13 13:39:01 -07:00
Dan Gillespie 4b5c89486f fixed kubeconfig test 2016-05-13 13:24:38 -07:00
Dan Gillespie 4194466d62 added license 2016-05-13 12:40:29 -07:00
Dan Gillespie b5b5b331bf working kubeconfig setup 2016-05-13 12:25:03 -07:00
Dan Gillespie ff7cb9ae83 add kubeconfig tests 2016-05-13 11:34:13 -07:00
Lucas Käldström d4516f7665 Merge pull request #72 from dlorenc/socat
Build socat as part of the iso build.
2016-05-13 20:51:46 +03:00
Lucas Käldström 68654463fe Merge pull request #66 from dlorenc/buildlocalkube
Bundle localkube in the minikube binary as a blob, send that to the VM.
2016-05-13 20:51:09 +03:00
Dan Lorenc 3a0c1b0230 Add .gopath and generated code to the whitelist for gofmt. 2016-05-13 10:24:39 -07:00
Dan Lorenc 3fa98665be Build socat as part of the iso build. 2016-05-13 09:57:12 -07:00
Dan Lorenc a2be50b318 Fix test dependency. 2016-05-13 09:55:15 -07:00
Dan Gillespie b1ebe65c1d added kubeconfig writing and reading 2016-05-13 09:49:06 -07:00
Dan Lorenc ddbc7e16c6 Fix makefile bug. 2016-05-13 08:49:21 -07:00
Dan Lorenc 7514917bf2 Code review feedback.
- Install go-bindata automatically.
- Newlines
- Change to Go 1.6.
2016-05-13 08:35:30 -07:00
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