Commit Graph

1470 Commits

Author SHA1 Message Date
tamnd
906b279080 Support new docker config format for private registries 2015-08-22 15:37:25 +07:00
Anastasis Andronidis
10747841a0 move type documentation from tags to comments 2015-08-22 03:24:35 +02:00
Brendan Burns
5d664892f2 Add a storage implementation for thirdpartyresources. 2015-08-21 17:21:40 -07:00
Jerzy Szczepkowski
b337458ab6 Merge pull request #12993 from mikedanese/rtexpapi
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-21 10:27:17 +02:00
k8s-merge-robot
44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali
93ffc9c57e Merge pull request #12992 from pmorie/description_checker
Make description checker check for descriptions in internal API
2015-08-20 17:32:44 -07:00
Abhishek Shah
b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
Mike Danese
a6d1b87336 fix roundtrip bug and add expapi to round trip serialization tests 2015-08-20 13:58:03 -07:00
Paul Morie
1e7b510a14 Remove internal API descriptions 2015-08-20 16:21:47 -04:00
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
62199f7cd3 Merge pull request #12911 from wojtek-t/refactor_etcd_test_2
Refactoring of list etcd tests.
2015-08-20 10:03:39 +02:00
Saad Ali
082ea838c5 Merge pull request #12779 from Huawei-PaaS/issue/clean_govet_error
Clean the static check errors (Go vet)
2015-08-19 14:59:05 -07:00
Wojciech Tyczynski
dcc302ab38 Refactoring of list etcd tests. 2015-08-19 13:56:23 +02:00
Jian Huang
c350d325e9 Solve Static Check Error 2015-08-19 13:38:56 +08:00
Tim Hockin
86f4535871 Check loopback and link-local multicast endpoints
Previously we just disallowed link-local (unicast).  This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman
89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Wojciech Tyczynski
6cea2c8940 Prepare for refactoring registry etcd tests 2015-08-18 09:53:23 +02:00
Robert Bailey
736945faba Merge pull request #12831 from thockin/nodeport-optional
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin
75941afab2 Make nodePort optional in v1 API 2015-08-17 15:44:37 -07:00
Paul Morie
8ddef45679 Fix issue 10587; update SecurityContext godoc 2015-08-17 11:23:11 -04:00
Brendan Burns
a9580a0ad0 Merge pull request #12595 from smarterclayton/add_pod_status_ip
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns
9cc5156b69 Merge pull request #12685 from eparis/goimports
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Clayton Coleman
01f3785426 Add status.podIP as a valid downward API target
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Brendan Burns
b29311ba2b Merge pull request #11781 from brendandburns/schema-api
RFC: Add initial plugin schema types.
2015-08-14 09:44:12 -07:00
Eric Paris
8f3577e5d2 Do not use goimports in hack/update-generated-conversions.sh
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8 Convert generated-deep-copies to use golang.org/x/tools/imports
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
1055eed9b6 Add initial storage types to the Kubernetes API 2015-08-13 09:25:02 -07:00
Jerzy Szczepkowski
f09a08d15a Refactoring of get etcd tests.
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Wojciech Tyczynski
4516eeba81 Merge pull request #12594 from liggitt/status_field
Limit field errors to a single field name
2015-08-13 08:35:02 +02:00
CJ Cullen
59da05efdf Merge pull request #12405 from uluyol/kubectlexp
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
Muhammed Uluyol
93b14c9a5d Document the relationship between groups, versions, kinds, and resources. Link
to appropriate issues for multiple api group support.
2015-08-12 11:29:05 -07:00
Jordan Liggitt
d7a50c4778 Limit field errors to a single field name 2015-08-12 14:10:26 -04:00
Piotr Szczesniak
eb01d49783 Merge pull request #12556 from uluyol/copynilinterface
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Piotr Szczesniak
1df0267f4a Merge pull request #12551 from eparis/underscore-to-dash
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
Muhammed Uluyol
bc8bc37282 Properly handle nil interfaces in DeepCopy.
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol
567bb15432 Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign. 2015-08-11 17:12:24 -07:00
Muhammed Uluyol
fab367230f Add experimental API support to kubectl 2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Eric Paris
5aa495cdad Update code to use - in flag names instead of _ 2015-08-11 16:31:52 -04:00
Filip Grzadkowski
3f7b54cbdb Merge pull request #11669 from pweil-/sc-nonroot
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Alex Robinson
785ccf4a74 Merge pull request #12005 from JanetKuo/kubectl-describe-allocatedresource
Make kubectl describe node include allocated resource
2015-08-10 18:08:04 -07:00
Alex Robinson
33178dce96 Merge pull request #12496 from nikhiljindal/portDescription
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal
a698acd3c8 Fixing a typo in port swagger description 2015-08-10 13:32:46 -07:00
Janet Kuo
0ac6dba3f4 Make kubectl describe node include allocated resource 2015-08-10 13:25:59 -07:00
Paul Weil
e490c20c22 add non-root directive to SC and kubelet checking 2015-08-10 13:30:34 -04:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
d239d51f3a Merge pull request #12414 from krousey/versioned_codec
Adding a way to decode to a specified version.
2015-08-10 16:32:36 +02:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh
bee48f4ce5 Merge pull request #12035 from AnanyaKumar/requests
Add support for request
2015-08-07 14:27:34 -07:00
Kris Rousey
6e64a63a84 Adding a way to decode to a specified version.
This is largely needed as a way to get a versioned client without
requiring everyone to switch to versioned types at once.
2015-08-07 14:16:24 -07:00
Dr. Stefan Schimanski
79e54c2679 Add unit tests for RepackSubsets to take pod UID into consideration 2015-08-07 08:32:49 +02:00
Dr. Stefan Schimanski
55daf3b80e Don't wrongly identify endpoint addresses only due to equal IP
Before this patch the endpoint IP was used to identify endpoint addresses. This
leads to wrong unification of endpoints of different pods having the same IP (e.g.
non container IP in case of Mesos). This patch takes the EndpointAddress.targetRef.UID
into consideration as well.
2015-08-07 08:31:59 +02:00
AnanyaKumar
d9b85652ae Add Daemon API 2015-08-06 13:15:19 -07:00
Dawn Chen
536313c82c Merge pull request #9472 from deads2k/expose-name-validation
expose common name validation methods
2015-08-06 10:51:51 -07:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Ananya Kumar
ef1e576810 Add support for request 2015-08-05 19:00:19 -07:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Manan Saraf
b2ebfeef25 Fixed empty name error and also changed tests 2015-08-04 14:09:42 -07:00
Alex Mohr
366b382901 Merge pull request #10200 from caesarxuchao/resthandler-validate-version
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
867f9b22c5 Merge pull request #12119 from brendandburns/fix
Auto commit by PR queue bot
2015-08-03 20:47:42 -07:00
Alex Mohr
3d2d99c6fd Merge pull request #12007 from brendandburns/stdin
Auto commit by PR queue bot
2015-08-03 19:28:16 -07:00
Chao Xu
664d20c572 Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Chao Xu
18d32751fd improve the error message of update pod 2015-08-02 13:41:53 -07:00
Brendan Burns
7ad8307926 Set some default values and add some additional comments for clarity. 2015-07-31 22:00:30 -07:00
Brendan Burns
51757f6552 Add parameters for interactive containers. Useful with kubectl attach. 2015-07-31 21:41:58 -07:00
Paul Morie
5cfab10c1e Remove description tag from internal API types 2015-07-31 17:17:53 -04:00
Mike Danese
a23ee556ad Merge pull request #11999 from brendandburns/attach2
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Mike Danese
739fc1a572 Merge pull request #11914 from nikhiljindal/missingSwagger
Swagger validation: stop ignoring unknown fields
2015-07-31 10:42:18 -07:00
Muhammed Uluyol
58a875ac2c Add (stopgap) support for an experimental API prefix. 2015-07-30 18:14:29 -07:00
Mike Danese
51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Clayton Coleman
0f9fdcafea Revert "Revert "Improve conversion to support multiple packages""
This reverts commit 94a387d5d1.
2015-07-30 15:15:14 -04:00
Brendan Burns
e8e756a719 Add pod/attach to the APIServer. 2015-07-30 10:55:53 -07:00
Mike Danese
94a387d5d1 Revert "Improve conversion to support multiple packages" 2015-07-30 10:51:40 -07:00
Wojciech Tyczynski
3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
nikhiljindal
8cdd403d9d stricter swagger validation 2015-07-29 22:25:09 -07:00
Clayton Coleman
1d41f5ac75 Update generated conversions 2015-07-29 17:07:14 -04:00
Clayton Coleman
487fe2d116 Update deep copies 2015-07-29 17:06:55 -04:00
Mike Danese
60ac834563 Merge pull request #10652 from JanetKuo/kubectl-o-name
Add '-o name' to mutations
2015-07-29 09:46:10 -07:00
Brendan Burns
a546a2979c Merge pull request #11726 from caesarxuchao/fix-types-link
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Daniel Smith
b1e6b87a5f Merge pull request #11829 from markturansky/validate_access_modes
Add validation for AccessModes
2015-07-27 16:14:38 -07:00
Janet Kuo
0e42d0699a Add '-o name' to mutations 2015-07-27 14:06:53 -07:00
deads2k
d73faa8272 expose common name validation methods 2015-07-27 13:12:28 -04:00
markturansky
0a0af48e51 added validation for AccessModes 2015-07-27 13:02:16 -04:00
David Oppenheimer
2236fee028 Fix link to node selector documentation. 2015-07-24 23:04:59 -07:00
Chao Xu
aa758e64f7 update the links in pkg/api/types.go 2015-07-24 18:08:05 -07:00
Chao Xu
cbeed829b7 update the links in v1/types.go 2015-07-24 18:08:05 -07:00
Mike Danese
ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese
db179e4cf4 Merge pull request #10346 from jhadvig/comment_fix
Fix NewNotFound method name in comments
2015-07-24 08:08:57 -07:00
Mike Danese
7a60a7c264 Merge pull request #11773 from jayunit100/etc-comment
Update comments to remove etcd specificity and minion term
2015-07-24 08:00:21 -07:00
Vish Kannan
1a908a272e Merge pull request #11076 from nikhiljindal/apiError
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Tim Hockin
1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan
136d53466a Merge pull request #10892 from nikhiljindal/beta1
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
jayunit100
6ca376fd12 Update comments to remove etcd specificity and minion / list term. 2015-07-23 17:41:44 -04:00
Mike Danese
a558edf036 Revert "Revert "Move rand string func to util for reuse""
This reverts commit acebe24bf3.
2015-07-22 15:01:28 -07:00
Paul Morie
1df80e3a6a Make copy_test.go failures easier to debug 2015-07-22 13:11:10 -04:00
Max Forbes
7a3891e5f8 Add ServiceAccount as an alias for ServiceAccountName 2015-07-16 15:48:49 -07:00
nikhiljindal
1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Rohit Jnagal
d61d272beb Merge pull request #10974 from brendandburns/lakesong
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00
Zach Loafman
6ea0c2b3b7 Fix gofmt from #11084
(cherry picked from commit 63c73a58a5)
2015-07-10 17:14:12 -07:00
Brendan Burns
2f47b3ed11 add spec.host as a synonym for spec.nodeName in v1 2015-07-10 15:16:48 -07:00
Brendan Burns
a8f02e5472 Automatically open a firewall when creating a GCE load balancer. 2015-07-10 14:35:29 -07:00
Victor Marmol
edaa1a69e5 Merge pull request #10525 from nikhiljindal/delbeta3
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
nikhiljindal
c465a50891 Stop exposing v1beta3 by default 2015-07-08 15:27:41 -07:00
nikhiljindal
fc4da6844e removing references to pre v1beta3 apis 2015-07-08 13:51:43 -07:00
Janet Kuo
9c3c23686f Embed doc URLs in swagger document 2015-07-07 14:23:52 -07:00
Yu-Ju Hong
d675cbfc71 Merge pull request #10690 from thockin/version-api-descriptions
Version API descriptions
2015-07-06 17:41:10 -07:00
Brendan Burns
988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Tim Hockin
3caf3ccad2 make API descriptions use releases.k8s.io 2015-07-04 13:32:22 -07:00
jhadvig
7df1d33204 Fix NewNotFound method name in comments 2015-07-02 12:41:12 +02:00
Zach Loafman
e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Zach Loafman
9db58ff2b2 Merge pull request #10632 from nikhiljindal/revert-etcderrors
Revert "Merge pull request #10246 from nikhiljindal"
2015-07-01 13:06:18 -07:00
Zach Loafman
0edd827c1c Merge pull request #10566 from markturansky/pvspec_desc
Removed extraneous json descriptions from internal types
2015-07-01 12:00:31 -07:00
nikhiljindal
d82d5d11a7 Revert "Merge pull request #10246 from nikhiljindal"
This reverts commit a902a2f014, reversing
changes made to 7df8d76a93.
2015-07-01 11:07:18 -07:00
Zach Loafman
502103cdc6 Merge pull request #10453 from satnam6502/fix-es
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
nikhiljindal
2e9e46dd08 Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
Zach Loafman
1715505d6b Merge pull request #10538 from marekbiskup/typo-hypen
correct typo
2015-06-30 23:11:11 -07:00
CJ Cullen
12553c9b91 Fix errors test 2015-06-30 16:43:33 -07:00
Zach Loafman
a902a2f014 Merge pull request #10246 from nikhiljindal/minionPrefix
Return api/errors instead of raw etcd errors
2015-06-30 15:47:58 -07:00
markturansky
c39be4bc74 Removed extraneous json desc 2015-06-30 15:28:12 -04:00
Tim Hockin
15766bfbbc Don't repeat field name in errors 2015-06-30 11:58:21 -07:00
Satnam Singh
4e58e001da Change port names to avoid validation failure 2015-06-30 10:56:20 -07:00
Marek Biskup
88c70d2ae0 correct typo 2015-06-30 11:23:48 +02:00
nikhiljindal
4b7f7ce535 Dont return raw etcd errors 2015-06-29 16:18:46 -07:00
Tim Hockin
025f728e50 Fix 'a' vs 'an' 2015-06-28 20:51:36 -07:00
Tim Hockin
08f66f04d6 Fix error message 2015-06-28 14:49:38 -07:00
Robert Bailey
6b97ac0880 Merge pull request #10131 from thockin/svc-docs
Hopefully make NodePort docs clearer
2015-06-26 21:50:46 -07:00
Robert Bailey
f9db614f95 Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey
54a3ebef3c Merge pull request #10315 from nikhiljindal/invalidValue
Updating the "invalid value" error message to include the list of valid values
2015-06-26 10:46:59 -07:00
Robert Bailey
0048eae8eb Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Maxwell Forbes
712f303350 Merge pull request #9736 from sdminonne/bug_fix2
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Steve Kuznetsov
3008ff6150 Changed HTTPGetAction to allow user-defined schemes 2015-06-25 16:59:12 -04:00
nikhiljindal
3b3ee0ed77 Improving an error message 2015-06-25 13:08:09 -07:00
Mike Danese
f79736d767 make replicas a pointer in v1beta3 api 2015-06-25 11:53:18 -07:00
Tim Hockin
ff91fef26b Hopefully make NodePort docs clearer 2015-06-25 10:46:15 -07:00
Maxwell Forbes
655179dcfb Merge pull request #10264 from mikedanese/ca-token
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
fc349fdd47 Merge pull request #10060 from nikhiljindal/scopeParamPath
Updating the path param name to "namespace" instead of "namespaces"
2015-06-25 09:56:15 -07:00
Maxwell Forbes
28946766a3 Merge pull request #9807 from krousey/container_manifest
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Mike Danese
56bde3342a add ca to token controller and all service accounts 2015-06-24 15:10:20 -07:00
nikhiljindal
6c6398edaa Update the path param name to namespace instead of namespaces 2015-06-24 13:45:49 -07:00
Kris Rousey
d13421e084 Removing ContainerManifest 2015-06-24 11:31:34 -07:00
nikhiljindal
221ae4d63b Allow update without resource version 2015-06-23 00:16:08 -07:00
Salvatore Dario Minonne
4b13faa346 To add validation for service ports when defined as string (fixing issue #9734) 2015-06-22 17:21:51 +02:00
Anastasis Andronidis
101739a6be Added Reason in PodStatus 2015-06-21 17:05:34 +02:00
Satnam Singh
b964f3c911 Merge pull request #9739 from bprashanth/sno
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Satnam Singh
3591a543d1 Merge pull request #9919 from liggitt/port_protocol_validation
Validate port protocol case strictly
2015-06-19 15:18:03 -07:00
Prashanth Balasubramanian
9ed9bd1c4f Add a generation number to the object meta of all objects, and status of rcs 2015-06-19 14:32:08 -07:00
Satnam Singh
078e85cfdb Merge pull request #10076 from caesarxuchao/pr/9966/head
based on #9966: fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-19 11:56:47 -07:00
Satnam Singh
f02c685532 Merge pull request #10007 from feihujiang/improveCreateSchemaValidate
improve kubectl create --validate, aggregate errors and handle requir…
2015-06-19 11:43:44 -07:00
Jordan Liggitt
68a8a25494 Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1 2015-06-18 22:38:00 -04:00
Chao Xu
5673f73378 fix the left pre V1 field names in 290c4618c331f4f30a278af520121ff35 2015-06-18 18:44:55 -07:00
Satnam Singh
59a96f1028 Merge pull request #9688 from liggitt/validate_pod_spec
Validate service account name in pod spec
2015-06-18 17:18:09 -07:00
Satnam Singh
0f81a65f74 Merge pull request #10019 from feihujiang/deleteTodoNotes
Delete TODO notes
2015-06-18 15:53:10 -07:00
Clayton Coleman
93f921b677 Swagger output for PATCH can be more strongly typed 2015-06-18 13:04:20 -04:00
feihujiang
a7b22e3773 Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.) 2015-06-18 20:13:17 +08:00
feihujiang
d5fcd9f153 improve kubectl create --validate, aggregate errors and handle require fields 2015-06-18 16:22:09 +08:00
Saad Ali
9da215e085 Merge pull request #9897 from derekwaynecarr/limit_range_validation
Add LimitRange range validation
2015-06-17 17:20:18 -07:00
markturansky
0a6b7b61ec Changed PVClaimVolumeSource name to match other volume names 2015-06-17 16:17:49 -04:00
Saad Ali
641f8d47d3 Merge pull request #9828 from caesarxuchao/remove-testdata-v1beta1
remove pkg/api/validation/testdata/v1beta1/*
2015-06-17 11:36:03 -07:00
derekwaynecarr
2518d8c0fc Add LimitRange range validation 2015-06-17 10:24:31 -04:00
Jordan Liggitt
2b840279d9 Validate service account name in pod spec 2015-06-16 21:09:01 -04:00
Jordan Liggitt
ee4cd972e0 Validate port protocol case strictly 2015-06-16 20:28:11 -04:00
Saad Ali
0aae358d2d Merge pull request #9835 from caesarxuchao/remove-testapi-nsQuery
Update pkg/api/testapi because namespace is always in the path now
2015-06-16 14:54:36 -07:00
Chao Xu
a309d3e652 Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2 2015-06-16 14:12:03 -07:00
Saad Ali
d6b50d5602 Merge pull request #9823 from caesarxuchao/remove-PodContainerInfo
remove PodContainerInfo from api/types.go
2015-06-16 13:38:53 -07:00
Chao Xu
d9e8939ae4 remove pkg/api/validation/testdata/v1beta1/* 2015-06-15 16:20:14 -07:00
Chao Xu
3815b4c985 remove PodContainerInfo from api/types.go 2015-06-15 15:04:37 -07:00
Fabio Yeon
4e6bd63256 Merge pull request #9597 from mikedanese/fix-swagger-validate-panic
fix panic in kubectl --validate when no apiVersion is passed
2015-06-15 13:05:11 -07:00
Fabio Yeon
b65c321a87 Merge pull request #9772 from feihujiang/noKindErrorMessage
make the kind not registered in versions  error message more precise
2015-06-15 10:26:58 -07:00
Filip Grzadkowski
cdc5034ce4 Fix error message for missing imagePullPolicy 2015-06-15 16:02:32 +02:00
feihujiang
ad4f22bf6a improve kubectl error message when an object with kind not registered in versions 2015-06-15 09:18:28 +08:00
Daniel Smith
9423f80d20 fix test bug & conversion bug 2015-06-12 13:55:10 -07:00
Daniel Smith
47294dd326 Revert "Revert "Test Service creation -> endpoint generation latency""
This reverts commit 654857114e.
2015-06-11 18:34:31 -07:00
Abhi Shah
b556285661 Merge pull request #9550 from feihujiang/validationFailure
remove useless glog.Infof
2015-06-10 14:45:10 -07:00
Mike Danese
2bbb78d50a actually return validation errors instead of just creating them 2015-06-10 12:45:10 -07:00
Brendan Burns
654857114e Revert "Test Service creation -> endpoint generation latency" 2015-06-09 21:24:00 -07:00
feihujiang
5867b5ce6b remove useless glog.Infof 2015-06-10 11:02:28 +08:00
krousey
1c58d2a766 Merge pull request #9354 from lavalamp/logSpam
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
krousey
d7f7d84a5e Merge pull request #9387 from jsdir/9340-signature
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
feihujiang
37abe11f8a kubetcl create --validate crashes when no apiVersion or kind is provided 2015-06-09 10:38:43 +08:00
Daniel Smith
aa9bdcbc4a add missing endpoints field label conversion function 2015-06-08 16:23:21 -07:00
Jason Sommer
aa892b7143 Replace meta with new 2015-06-08 17:06:56 -05:00
Jason Sommer
d59a8ff7f8 Improve signature consistency for ValidateObjectMetaUpdate
Fixes #9340

Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-08 02:56:38 -05:00
Quinton Hoole
6ff203e9da Merge pull request #9280 from caesarxuchao/make-v1-preferred
Make v1 the preferred api version
2015-06-05 15:23:14 -07:00
Quinton Hoole
8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Quinton Hoole
8f55d9e619 Merge pull request #9317 from nikhiljindal/podnodeName
Updating StatusDetails.ID to Name in internal API
2015-06-05 11:23:09 -07:00
nikhiljindal
7cc50448e3 Updating StatusDetails.ID to Name in internal API 2015-06-05 07:17:02 -07:00
Yifan Gu
f197a9db4e kubelet: Minor refactors.
Remove some TODOs.
Unexport DockerManager.Puller and DockerManager.PodInfraContainerImage.
Add "docker" for all "go-dockerclient" imports.
2015-06-04 16:08:45 -07:00
Chao Xu
1605fc7347 fix unit tests 2015-06-04 15:09:47 -07:00
Chao Xu
dfc77f7883 make v1 the preferred api version 2015-06-04 15:08:56 -07:00
markturansky
2829fadfad PV Recycling API 2015-06-04 15:39:34 -04:00
Chao Xu
0a7dc87b05 address nikhiljindal's comments in #9225 2015-06-04 10:20:29 -07:00
Chao Xu
c1ba3f21d5 remove outdated test from latest_test.go 2015-06-04 09:39:05 -07:00
Brian Grant
656fa7bea1 Merge pull request #9225 from caesarxuchao/add-v1-tests-general
Add v1 tests
2015-06-03 22:18:21 -07:00
Brian Grant
ab1e3cc789 Merge pull request #9215 from RichieEscarez/8977_restartpolicy
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" …
2015-06-03 22:16:11 -07:00
Chao Xu
2ee8eb67a9 remove import of v1beta3 package in api/conversion_test.go 2015-06-03 16:50:40 -07:00
Chao Xu
cb123dc957 in api/testapi/testapt_test.go, remove tests for v1beta1, add tests for v1 2015-06-03 16:48:05 -07:00