Commit Graph

23868 Commits

Author SHA1 Message Date
George Kuan
5e1fc1f4e0 Fixes #1605: make ErrorList introspectable by replacing ErrorList and
ErrorList#ToError with []error and util.SliceToError() respectively
2014-12-12 10:56:31 -08:00
Brendan Burns
771c538932 Merge pull request #2864 from deads2k/deads-tighten-validation-on-bad-gets
tighten validation for client resource gets
2014-12-12 10:34:53 -08:00
Brendan Burns
ad4185ef3a Merge pull request #2891 from rajdeepd/master
Added test case for events Create
2014-12-12 10:25:23 -08:00
bgrant0607
21a1bf24fa Merge pull request #2892 from erictune/delete_whoami
Remove whoami handler.
2014-12-12 09:51:27 -08:00
Tim Hockin
129074671c Merge pull request #2886 from brendandburns/pd2
Fix GCE-PD so that it works even if the PD is attached.
2014-12-12 08:54:22 -08:00
bgrant0607
ef76981e78 Merge pull request #2871 from zulily/kubectl-log-default-container
Modifies kubectl log cmd to not require container arg for single-contain...
2014-12-12 08:25:39 -08:00
Eric Tune
029a9b6400 Remove whoami handler.
This was a temporary thing.  Not aware of anyone using it.
2014-12-11 21:31:06 -08:00
Rajdeep Dua
b5c3e2d619 Added test case for events Create 2014-12-11 20:46:35 -08:00
Dylan Carney
ba5c18816e Updates kubectl log cmd per PR feedback 2014-12-11 17:44:44 -08:00
Clayton Coleman
c5ba95ee26 Add Type() method on flags for compat with pflag library
Allows our flag objects to be used with both golang flags and pflags
2014-12-11 20:10:54 -05:00
Brendan Burns
3da84e1844 Fix GCE-PD so that it works even if the PD is already attached. 2014-12-11 16:41:01 -08:00
Vojtech Vitek (V-Teq)
87263b4380 Remove duplicated assignment from API conversion 2014-12-12 01:37:15 +01:00
Brendan Burns
1dcb025559 Handle PD already being attached to the machine. 2014-12-11 13:00:26 -08:00
Dylan Carney
3f88f27d7b Modifies kubectl log cmd to not require container arg for single-container pods (for #2847) 2014-12-11 12:32:18 -08:00
bgrant0607
ecbb6c45d0 Merge pull request #2315 from ddysher/node-status
Add node status to API object.
2014-12-11 10:19:17 -08:00
bgrant0607
222c819800 Merge pull request #2855 from brendandburns/validatez
Turn on node level validation, and make the validation set dynamic.
2014-12-11 09:56:47 -08:00
bgrant0607
2232a29af7 Merge pull request #2833 from liggitt/util_time
Use util.Time consistently in types.go
2014-12-11 09:17:50 -08:00
bgrant0607
473376b085 Merge pull request #2820 from ravigadde/master
MountPath in VolumeMount is a required field. Removing the omitempty.
2014-12-11 08:55:40 -08:00
deads2k
fa900e5d67 require names for gets 2014-12-11 11:21:40 -05:00
Jordan Liggitt
51bfb50698 Use util.Time consistently in types.go 2014-12-11 11:14:25 -05:00
Deyuan Deng
0332c8d4d1 Add node status to API object (all versions). 2014-12-11 08:12:27 -05:00
Brendan Burns
59b5546b28 Turn on node level validation, and make the validation set dynamic. 2014-12-10 22:02:45 -08:00
Brendan Burns
bac915a066 Return an error if a user attempts to create an externalized UDP balancer. 2014-12-10 20:08:03 -08:00
Joe Beda
5523e0344a Merge pull request #2814 from satnam6502/list
Do not consider an empty string to be an error in list.go
2014-12-10 16:31:18 -08:00
Dawn Chen
5865ab750e Merge pull request #2808 from simon3z/master
api: add container's id to ContainerStatus
2014-12-10 16:30:08 -08:00
Daniel Smith
f81ec248d0 Merge pull request #2786 from smarterclayton/load_opaque_objects
Allow runtime.Object to be encoded as runtime.RawExtension
2014-12-10 16:24:05 -08:00
Joe Beda
b7705d25c8 Merge pull request #2827 from liggitt/tlsv1
Bump minimum TLS version from SSLv3 to TLSv1.0
2014-12-10 13:15:29 -08:00
Ravi Gadde
66f21b0b8b MountPath in VolumeMount is a required field. Removing the omitempty for
json/yaml.

Removed omitempty for mountpath
2014-12-10 12:45:31 -08:00
Federico Simoncelli
4af64b8911 api: add container's id to ContainerStatus
Sometimes for external applications it is useful to correlate the pod
containers to the real docker instances.

This patch adds a new entry in the container status (containerID) which
is used to identify the instance.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2014-12-10 20:38:41 +00:00
James DeFelice
85b4b4677e unit test for #2815, as requested by @brendandburns 2014-12-10 15:33:38 -05:00
Dawn Chen
17475cdbe7 Merge pull request #2821 from lavalamp/fix
Allow, when testing, SelfLinks to be unset.
2014-12-10 12:10:51 -08:00
Dawn Chen
5c79668854 Merge pull request #2815 from jdef/inspect_tagged_image
inspect the full repo/image:tag name
2014-12-10 11:53:14 -08:00
Satnam Singh
7582884f30 Do not consider an empty string to be an error in list.go 2014-12-10 11:41:13 -08:00
Daniel Smith
272bfc97ed Merge pull request #2788 from smarterclayton/roundtrip_node_nodelist
Rename Minions -> Nodes internally
2014-12-10 11:12:15 -08:00
bgrant0607
2d57ac7e40 Merge pull request #2822 from mikedanese/kubelet-test-simplify
simplified TestNewKubeletClient in kubelet_test
2014-12-10 10:49:14 -08:00
bgrant0607
703cf28b65 Merge pull request #2823 from mikedanese/master
explicitly declare gce_cloud package name
2014-12-10 10:48:11 -08:00
Clayton Coleman
6ab6c90ce5 Merge pull request #2665 from ddysher/fix-watch-filter
Move watch filter into storage level
2014-12-10 12:31:55 -05:00
Clayton Coleman
0d887ae7b3 Change podStatus from Nodes.List() -> Nodes.Get(name)
Retrieves a lot less data
2014-12-10 12:08:19 -05:00
Clayton Coleman
d1d7505272 Rename client Minions->Nodes, select the correct path for v1beta3
Replaces the client public interface but leaves old references to "minions"
for a later refactor.  Selects the path "nodes" for v1beta3 and "minions"
for older versions.
2014-12-10 12:08:19 -05:00
Clayton Coleman
9030759df8 Add 'nodes' everywhere 'minions' can be used in api / cli 2014-12-10 12:08:18 -05:00
Clayton Coleman
19379b5a38 Internal rename api.Minion -> api.Node 2014-12-10 12:08:18 -05:00
Clayton Coleman
650aead4c4 Support Node/NodeList as a valid name in all versions
Also refactor v1beta1/conversion_test.go `v1beta` -> `current` to allow
easier cut and paste of tests.
2014-12-10 11:53:38 -05:00
Clayton Coleman
5447e74129 Node/Nodelist 2014-12-10 11:48:41 -05:00
Clayton Coleman
279df03377 Allow mismatched type names on all conversions
Allows v1beta3.Node to be converted to api.Minion
2014-12-10 11:48:41 -05:00
Jordan Liggitt
2475123d3c Bump minimum TLS version from SSLv3 to TLSv1.0 2014-12-10 09:13:15 -05:00
Mike Danese
553239d6ee explicitly declare gce_cloud package name 2014-12-09 18:48:39 -08:00
Mike Danese
50a6068b5d simplified TestNewKubeletClient in kubelet_test 2014-12-09 18:27:55 -08:00
Daniel Smith
e46bfcf699 Allow, when testing, SelfLinks to be unset. Kubelet now makes events in tests. 2014-12-09 17:53:42 -08:00
Saad Ali
9a1fea6927 Merge pull request #2817 from lavalamp/fix
Compare containers by name, not by pointer equality.
2014-12-09 17:33:56 -08:00
Daniel Smith
ba62943b8e Compare containers by name, not by pointer equality. 2014-12-09 17:06:39 -08:00