Claire Li
d9a6cfd169
Fix health_test.go
2014-11-03 22:03:34 -08:00
Claire Li
5e3193afd1
Refactor Status.String() in health pkg
2014-11-03 21:57:01 -08:00
Daniel Smith
724db61c1d
Add a placeholder to boundPod's SelfLink, and test that one can make references to them.
2014-11-03 17:46:33 -08:00
Eric Tune
1668c6f107
Authorization based on namespace, kind, readonly.
...
Also, pass Authorizer into master.Config.
2014-11-03 17:45:15 -08:00
Dawn Chen
d6e36a4756
Merge pull request #2117 from erictune/get_user_attrib
...
Use user-string in authentication attributes.
2014-11-03 17:23:37 -08:00
Eric Tune
3045035512
Get user from request and put in authz attribs.
...
Added integration tests for user-based auth.
2014-11-03 16:38:56 -08:00
Dawn Chen
6c2212b37a
Merge pull request #2142 from erictune/fix_crash
...
Require a KubeletClient in master.New()
2014-11-03 16:21:00 -08:00
Eric Tune
795bc7f976
Require a KubeletClient in master.New().
...
Without this, tests which create a master
will panic with a nil pointer when the periodic
podCache update runs.
Deleted unused FakePodInfoGetter.
Added FakeKubeletClient.
Passed to master.New.
Required a KubeletClient in master.New.
2014-11-03 16:09:41 -08:00
Dawn Chen
c4aa4d28a6
Merge pull request #2120 from brendandburns/uuid
...
Add some blocking so that we don't generate identical UUIDs for API objects.
2014-11-03 15:32:56 -08:00
Daniel Smith
7c2b7b55e7
Merge pull request #2059 from smarterclayton/rest_mapping
...
Define a mapping between REST resource name and kind/apiVersion
2014-11-03 15:08:21 -08:00
Clayton Coleman
2446347b07
Merge pull request #2141 from brendandburns/fix
...
Stop running benchmarks for every travis run. They're flaky.
2014-11-03 17:37:54 -05:00
Clayton Coleman
191c1b975c
Define a mapping between REST resource name and kind/apiVersion
...
Allows clients to abstractly map user input to generic resource
paths as per docs/api-conventions.md
2014-11-03 17:09:06 -05:00
Brendan Burns
115869c0c7
Stop running benchmarks for every travis run. They're flaky.
2014-11-03 13:39:16 -08:00
Brendan Burns
f556f2f82f
Add some validation for externalized service ports.
2014-11-03 13:36:34 -08:00
Brendan Burns
a624630112
Add some blocking so that we don't generate identical UUIDs for API objects.
2014-11-03 13:27:59 -08:00
Brendan Burns
a4abafea02
Merge pull request #2129 from ddysher/fix-local-up
...
Fix local cluster scripts
2014-11-03 13:24:42 -08:00
Dawn Chen
078bc364b4
Merge pull request #2135 from brendandburns/cleanup
...
Change a spammy log to V(3)
2014-11-03 12:53:27 -08:00
Dawn Chen
2d92305338
Merge pull request #2132 from erikstmartin/kubelet-rootdir-fix
...
Fixes #1612 kubelet should fail to start if it cannot create rootDir
2014-11-03 12:51:47 -08:00
Erik St. Martin
f75f2bbc0f
Fixes #1612 kubelet should fail to start if it cannot create rootDir
2014-11-03 14:44:46 -05:00
Dawn Chen
fd7c6571d0
Merge pull request #2138 from dchen1107/master
...
Fix TestAuthModeAlwaysAllow.
2014-11-03 10:18:14 -08:00
Dawn Chen
cccf98cd61
Fix TestAuthModeAlwaysAllow.
...
Fix #2137
2014-11-03 09:46:45 -08:00
Dawn Chen
6cc5b7d848
Merge pull request #2125 from brendandburns/flake
...
Deflake the TestCreate test, by adding an explicit wait.
2014-11-03 08:53:29 -08:00
Dawn Chen
e99eac0e78
Merge pull request #2128 from brendandburns/kubelet
...
Add support for a 'log' command to kubectl.
2014-11-03 08:50:36 -08:00
Dawn Chen
81785d8cde
Merge pull request #2124 from brendandburns/fix
...
Make endpoints return 400 instead of 500
2014-11-03 08:38:34 -08:00
Brendan Burns
4ae3e99177
Change a spammy log to V(3)
2014-11-03 08:38:02 -08:00
Brendan Burns
c92e15679a
Merge pull request #2116 from erictune/improve_auth_integ
...
Improve integration test
2014-11-03 08:26:54 -08:00
Brendan Burns
69e75c9373
Merge pull request #2127 from colemickens/patch-1
...
Add net-tools pre-req to Vagrant instructions
2014-11-03 08:25:23 -08:00
Brendan Burns
6de9d9bfe1
Merge pull request #2130 from claire921/refactor_healthz_test
...
Fix healthz test error handling
2014-11-03 08:24:37 -08:00
Clayton Coleman
3836d24838
Merge pull request #2109 from smarterclayton/test_cmd_can_fail_on_public_addr
...
test-cmd.sh can fail if public IP not available
2014-11-03 11:21:27 -05:00
Clayton Coleman
d9c0b454aa
Merge pull request #2102 from markturansky/v1beta3_refactor_metadata
...
Refactor v1beta3 - Refactor 'Metadata' to ObjectMeta from all types
2014-11-03 09:38:25 -05:00
markturansky
2260b241dc
Removed 'Metadata' from all types
2014-11-03 08:47:22 -05:00
Claire Li
eafd142dfa
Fix healthz test error handling
2014-11-02 22:26:45 -08:00
Deyuan Deng
a7bdb362da
Fix local cluster scripts
2014-11-02 23:30:14 -05:00
Brendan Burns
32a04e48fd
Make endpoints return 400 instead of 500
2014-11-02 20:08:06 -08:00
Brendan Burns
b0c5d3b022
Add support for a 'log' command to kubectl.
2014-11-02 19:54:19 -08:00
Cole Mickens
da214a9517
Add net-tools pre-req to Vagrant instructions
...
Adds a note mentioning that `net-tools` are required for bridging VirtualBox's host networks. Added a similar note under the troubleshooting section.
2014-11-02 19:27:43 -08:00
Eric Tune
4b74be0f06
Improve integration test
...
Use some constants for tokens.
Refactor tokenfile creation to function.
Reorder some test cases to make lookups follow creates so they succeed.
Add expected status code to test cases (some are not quite what expected,
so filed bugs #2112 , #2113 , #2114 )
Check expected status codes.
Close Body after each iterations so that we don't run out of file handles
when I add even more test cases in the next PR.
Handle that it is unpredictable whether status 200 or 202 is returned.
2014-11-02 16:31:20 -08:00
Brendan Burns
f02fe2da1b
Deflake the TestCreate test, by adding an explicit wait.
2014-11-02 12:38:31 -08:00
Brendan Burns
808be2d13b
Merge pull request #2119 from ddysher/fix-flag-change
...
Fix minion_cache_ttl and minion_regexp flag change.
2014-11-01 22:47:52 -07:00
Deyuan Deng
f1a569872a
Fix minion_cache_ttl and minion_regexp flag change.
2014-11-02 00:36:34 -04:00
Deyuan Deng
290749b1ab
Merge pull request #2118 from brendandburns/fix
...
Fix a bunch of places where the -machines flag was still attached to the apiserver
2014-11-02 00:26:06 -04:00
Brendan Burns
8d34231381
Fix a bunch of places where the -machines flag was still attached to the apiserver.
2014-11-01 20:38:45 -07:00
Joe Beda
bbb66af3db
Merge pull request #2092 from jbeda/1729-hack-build
...
Rationalize `build` and `hack` directories
2014-11-01 18:02:12 -07:00
Joe Beda
5d33ce46cc
Rework hack/ and build/ directories.
...
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'. The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*. This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis
With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s. This is a significant improvement.
2014-11-01 17:56:41 -07:00
Deyuan Deng
88a7097c23
Merge pull request #2110 from smarterclayton/local_up_cluster_fails
...
hack/local-up-cluster fails to even launch apiserver
2014-11-01 17:06:40 -04:00
Clayton Coleman
c1c11557a4
hack/local-up-cluster fails to even launch apiserver
...
--machines was removed but still referenced in hack/local-up-cluster.
This is not a total fix, but at least allows the apiserver to start.
2014-11-01 12:20:16 -04:00
Clayton Coleman
6e1527ed06
test-cmd.sh can fail if public IP not available
...
test-cmd runs a 127.0.0.1 version of the apiservers, but does not
set --public_address_override, which means it can fail on some systems
(like Macs) which don't expose a bindable external port by default.
Since reachability is not necessary for test-cmd.sh today, set
public_address_override to 127.0.0.1
2014-11-01 12:19:13 -04:00
Clayton Coleman
10de0d1933
Merge pull request #2108 from brendandburns/fix
...
Fix a missing lock in the fake etcd client.
2014-11-01 11:36:21 -04:00
Brendan Burns
cf4fd8753f
Fix a missing lock in the fake etcd client.
2014-10-31 21:36:03 -07:00
Brendan Burns
f44bb9d673
Merge pull request #2104 from jbeda/gcs-docker-install
...
Get docker deb from GCS
2014-10-31 21:15:06 -07:00