Commit Graph

24122 Commits

Author SHA1 Message Date
Eric Tune
ff35d97663 Cleanup borrowed conversion functions.
In pkg/apis/extensions/v1beta1/conversion.go,
some conversion code was copied from the
legacy api because Pod conversions cannot be
automatically generated because of something
about deprecatedServiceAccount.

This PR fixes two problems due to that copying.

First, the copied code could drift from its source
To fix that, I replaced the Convert_api_ and Convert_v1
implementations with a call to the original function.
I left a wrapper in case something needed to have
a package-local function name.

Second, the copied Convert_* functions, were copied,
in a way that they refer to other conversion functions
that aren't in the current package.  This prevented
genconverion from working from a clean start
(no conversion_generated.go).  Perhaps the person
who wrote this in the first place had copied
the conversion_generated.go file from legacy,
so it worked.   So, I added the v1
package name to calls to Convert_* functions.
So, when someone Cargo-Cult copies the conversion.go
file, like I did, they now will not have to
wonder why genconversion complains about missing
Convert_ functions.

Deleted the conversion_generated.go and reran genconversion
and it worked, no diffs old vs new conversion_generated.go.
2016-02-05 05:42:47 -08:00
k8s-merge-robot
4ecfe4d207 Merge pull request #20678 from janetkuo/dont-copy-apply-annotation
Auto commit by PR queue bot
2016-02-05 05:23:08 -08:00
k8s-merge-robot
df0bbd45d7 Merge pull request #20615 from Random-Liu/deprecate-hostconfig-at-container-start
Auto commit by PR queue bot
2016-02-05 04:54:28 -08:00
k8s-merge-robot
6485584fca Merge pull request #20702 from gmarek/controllers
Auto commit by PR queue bot
2016-02-05 04:25:21 -08:00
k8s-merge-robot
9d7a3ed9f6 Merge pull request #20563 from roberthbailey/ui-e2e-non-conformance
Auto commit by PR queue bot
2016-02-05 03:56:43 -08:00
gmarek
0c191e787b Split controller flags between controllers 2016-02-05 12:17:51 +01:00
k8s-merge-robot
ce6fd46637 Merge pull request #20539 from mikedanese/kube-scheduler-external
Auto commit by PR queue bot
2016-02-05 01:56:43 -08:00
Marek Grabowski
57c80385ef Merge pull request #20700 from wojtek-t/dont_cross_rvs
Don't mix RVs from different resources
2016-02-05 10:31:49 +01:00
Wojciech Tyczynski
31a6f90da1 Don't mix RVs from different resources 2016-02-05 09:23:34 +01:00
Daniel Smith
67065b8460 Merge pull request #20697 from wojtek-t/fix_lock_in_watch_cacher
Fix deadlock in watch cache
2016-02-05 00:03:38 -08:00
Wojciech Tyczynski
d3639aff73 Fix deadlock in watch cache 2016-02-05 08:31:55 +01:00
Janet Kuo
40849a5b50 Skip apply annotation when copying annotations from deployment to RC 2016-02-04 23:30:31 -08:00
Daniel Smith
2e7993e057 Merge pull request #20674 from caesarxuchao/decode-status
To be compatible with release 1.1, decode Status even if the APIVersion is not set in the response
2016-02-04 23:27:47 -08:00
Daniel Smith
15df7c7251 Merge pull request #20592 from erictune/fix-munge-2
Print line number of failed link conversion.
2016-02-04 23:26:05 -08:00
Daniel Smith
62e0eed21c Merge pull request #20660 from thockin/e2e-also-log-fails
Logf() failures for nicer logs
2016-02-04 23:24:15 -08:00
Daniel Smith
c399b49c29 Merge pull request #20431 from deads2k/tighten-api-installer
tighten api server installation for bad groups
2016-02-04 23:19:08 -08:00
Daniel Smith
d84ac764a9 Merge pull request #20492 from erictune/labselunver
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Daniel Smith
f932f3aea2 Merge pull request #20425 from ihmccreery/namespace-experimental
Use [Feature:ComprehensiveNamespaceDraining] instead of `PIt`
2016-02-04 23:17:20 -08:00
Daniel Smith
9a76c022ec Merge pull request #20408 from kylegordon/patch-1
Use kube account to make changes via govc
2016-02-04 23:16:44 -08:00
Daniel Smith
e6639de333 Merge pull request #20380 from mqliang/podcidr-validation
pod cidr validation
2016-02-04 23:16:02 -08:00
Tim Hockin
df6ac92976 Merge pull request #20663 from thockin/svc-ctrl-defer-ip-release
Use defer for IP release
2016-02-04 22:47:46 -08:00
Tim Hockin
91c4f89de6 Merge pull request #20693 from thockin/e2e-util-region-not-zone
e2e util: Pass region, not zone
2016-02-04 22:36:40 -08:00
Tim Hockin
ea35158a32 e2e util: Pass region, not zone 2016-02-04 20:40:42 -08:00
k8s-merge-robot
c09b67f60f Merge pull request #20591 from caesarxuchao/legacy-to-core
Auto commit by PR queue bot
2016-02-04 17:37:12 -08:00
Daniel Smith
f28c368550 Merge pull request #20683 from mesosphere/jdef_fix_mesosphere_tc_git
mount teamcity git workspace if running in TC
2016-02-04 17:09:25 -08:00
k8s-merge-robot
2084fba199 Merge pull request #18842 from vishh/kubelet_docker
Auto commit by PR queue bot
2016-02-04 17:08:34 -08:00
James DeFelice
321a10a2d5 mount teamcity git workspace if running in TC 2016-02-05 00:44:26 +00:00
Tim Hockin
a6cb6d76e3 Use defer for IP release 2016-02-04 16:40:28 -08:00
k8s-merge-robot
5b046cccdb Merge pull request #20448 from justinsb/aws_fix_e2e_detect_master
Auto commit by PR queue bot
2016-02-04 16:24:20 -08:00
Chao Xu
0d772a7a52 To be compatible with release 1.1, decode Status even if the APIVersion is not set. 2016-02-04 16:12:17 -08:00
Lantao Liu
8118092d11 Deprecate HostConfig at container start 2016-02-04 15:35:14 -08:00
k8s-merge-robot
003b231867 Merge pull request #19576 from maclof/master
Auto commit by PR queue bot
2016-02-04 15:20:00 -08:00
Saad Ali
386aab82de Merge pull request #19932 from pwittrock/ra2
Nodes Metrics API - Summary Impl
2016-02-04 14:40:29 -08:00
Chao Xu
1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -08:00
Phillip Wittrock
ba5be34574 Kubelet Metrics Summary Api Implementation 2016-02-04 14:05:28 -08:00
Eric Tune
eba2c56566 hack/update-generated-swagger-docs.sh 2016-02-04 13:46:34 -08:00
Eric Tune
fead374844 Regenerate types, conversions. 2016-02-04 13:46:34 -08:00
Eric Tune
6133cb1f21 Move extensions.LabelSelector to unversioned.
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.

Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned

The related type in pkg/apis/extensions/v1beta1/ is staying there.  I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
Marc Lough
c33fcba311 Reject packets to services without endpoints 2016-02-04 20:56:02 +00:00
k8s-merge-robot
ad9fa30e7e Merge pull request #20023 from erictune/secrets-doc
Auto commit by PR queue bot
2016-02-04 11:57:41 -08:00
Robert Bailey
6ad11dbcf7 Don't label the UI e2e test as part of the conformance suite - it's
a test to ensure that an *optional* cluster addon is working.
2016-02-04 11:55:00 -08:00
Nikhil Jindal
59820827d4 Merge pull request #20513 from nikhiljindal/apiserverExampleTest
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
Tim Hockin
e7c3cb22ee Logf() failures for nicer logs 2016-02-04 11:13:19 -08:00
Tim Hockin
318b11d418 Merge pull request #20657 from bprashanth/ut_fix
Don't handshake with each watch interrupt in proxy unittests.
2016-02-04 11:04:12 -08:00
Saad Ali
7d70edc91f Merge pull request #20553 from jonboulle/yifan-gu-rkt_dns
rkt: Add DNS support
2016-02-04 10:55:38 -08:00
Prashanth Balasubramanian
589b7fdc92 Don't handshake with watch interrupt in proxy unittests. 2016-02-04 10:55:25 -08:00
k8s-merge-robot
9bbc22cf3a Merge pull request #20526 from spxtr/aws-jobs
Auto commit by PR queue bot
2016-02-04 10:15:38 -08:00
Eric Tune
db57460035 Update secrets docs
Use `kubectl create secret` wherever possible
instead of defining a complete object.

Reorganized some content.
2016-02-04 10:09:17 -08:00
k8s-merge-robot
ca30f38697 Merge pull request #20632 from wojtek-t/fix_metrics
Auto commit by PR queue bot
2016-02-04 04:28:29 -08:00
Wojciech Tyczynski
f23034d5da Reset more metrics before scalability tests 2016-02-04 11:47:13 +01:00