Kris
28132be07e
Redo Unstructured to have accessor methods
...
Add accessor methods that implement pkg/api/unversioned.ObjectKind,
pkg/api/meta.Object, pkg/api/meta.Type and pkg/api/meta.List.
Removed the convenience fields since writing to them was not reflected
in serialized JSON.
2016-05-03 14:07:28 -07:00
Clayton Coleman
99430cf5de
Strip side-effect imports from generated protobuf
2016-05-02 18:12:20 -04:00
Clayton Coleman
84dee0d9cc
Frame decoder was checking cap(), not len()
...
Resulted in bytes being missing from the streaming decoder. Update both
parts.
2016-04-30 17:57:17 -04:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Clayton Coleman
8d0187add2
Generation changes
2016-04-29 17:12:09 -04:00
Clayton Coleman
cf133ee03a
Convert remaining int types to fixed
...
Having internal and external integer types being different hides
potential conversion problems. Propagate that out further (which will
also allow us to better optimize conversion).
2016-04-29 17:12:04 -04:00
Random-Liu
7796b619fd
Cleanup the code with new engine-api
2016-04-29 13:34:38 -07:00
Random-Liu
3876972d3f
Clean up go-dockerclient reference.
2016-04-29 13:32:19 -07:00
k8s-merge-robot
46a6cae14e
Merge pull request #24907 from smarterclayton/default_inliners
...
Automatic merge from submit-queue
Make all defaulters public
Will allow for generating direct accessors in conversion code instead of using reflection.
@wojtek-t
2016-04-29 06:36:09 -07:00
k8s-merge-robot
ad67363c12
Merge pull request #24362 from ArtfulCoder/hostname-field
...
Automatic merge from submit-queue
Promote Pod Hostname & Subdomain to fields (were annotations)
Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.
Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00
k8s-merge-robot
8f9bff5b25
Merge pull request #24906 from smarterclayton/better_benchmark
...
Automatic merge from submit-queue
Slightly more effective conversion test (better variety)
Exercises more code paths for debugging memory allocations.
2016-04-28 23:17:57 -07:00
Abhishek Shah
8a3ed48808
Added Hostname and Subdomain field to Pod.Spec
2016-04-28 10:56:56 -07:00
Clayton Coleman
3e36dd62c6
Move defaulter functions to public methods with a convention
...
Preparing to generate direct defaulter access.
2016-04-28 12:20:13 -04:00
Jordan Liggitt
1e5815872e
Validate deletion timestamp doesn't change on update
2016-04-28 11:50:48 -04:00
Clayton Coleman
9e3c2ee4ea
Optimize group version allocations
2016-04-28 10:53:42 -04:00
Clayton Coleman
d0a7b93050
Slightly more effective conversion test (better variety)
2016-04-27 23:11:25 -04:00
Clayton Coleman
236925be87
Avoid allocations and a reflect.Call in conversion
...
reflect.Call is fairly expensive, performing 8 allocations and having to
set up a call stack. Using a fairly straightforward to generate switch
statement, we can bypass that early in conversion (as long as the
function takes responsibility for invocation). We may also be able to
avoid an allocation for the conversion scope, but not positive yet.
```
benchmark old ns/op new ns/op delta
BenchmarkPodConversion-8 14713 12173 -17.26%
benchmark old allocs new allocs delta
BenchmarkPodConversion-8 80 72 -10.00%
benchmark old bytes new bytes delta
BenchmarkPodConversion-8 9133 8712 -4.61%
```
2016-04-26 16:42:12 -04:00
k8s-merge-robot
55cb7cceb3
Merge pull request #23632 from stefwalter/parse-repository-tag-removed
...
Automatic merge from submit-queue
Fix use of docker removed ParseRepositoryTag() function
Docker has removed the ParseRepositoryTag() function in
leading to failures using the kubernetes Go client API.
Failure:
```
../k8s.io/kubernetes/pkg/util/parsers/parsers.go:30: undefined: parsers.ParseRepositoryTag
```
2016-04-26 09:49:25 -07:00
jianhuiz
1c1ad1ad3f
add cluster registry
2016-04-26 02:06:47 -07:00
jianhuiz
fcb241d05c
add api group 'federation' and 'cluster' object
2016-04-26 02:05:51 -07:00
k8s-merge-robot
293b0d0815
Merge pull request #23493 from soltysh/move_job_internals
...
Automatic merge from submit-queue
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
This addressed the job part of #23216 , this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob.
@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
Stef Walter
481dbca8bc
Fix use of docker removed ParseRepositoryTag() function
...
Docker has removed the ParseRepositoryTag() function in
leading to failures using the kubernetes Go client API.
Lets use github.com/docker/distribution reference.ParseNamed()
instead.
Failure:
../k8s.io/kubernetes/pkg/util/parsers/parsers.go:30: undefined: parsers.ParseRepositoryTag
2016-04-25 11:37:10 +02:00
Wojciech Tyczynski
c0020aff59
Merge pull request #24539 from smarterclayton/unify_stream_and_serial
...
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
Maciej Szulik
a3b4447305
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
2016-04-25 11:03:54 +02:00
k8s-merge-robot
de9c1a2a51
Merge pull request #24247 from sdminonne/service_loadbalancer_quotas
...
Automatic merge from submit-queue
Adding loadBalancer services to quota system
@derekwaynecarr follow up to #22154 .
2016-04-23 10:22:45 -07:00
Clayton Coleman
3111985564
Handle streaming serializers more consistently
...
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
k8s-merge-robot
66dc446ba0
Merge pull request #24347 from derekwaynecarr/fix_configmap
...
Automatic merge from submit-queue
Fix ConfigMapList.Items to not use omitempty
Fixes https://github.com/kubernetes/kubernetes/issues/24335
2016-04-22 04:07:44 -07:00
Wojciech Tyczynski
3f06755566
Regenerate protobuf files
2016-04-21 16:22:52 +02:00
k8s-merge-robot
09adffb318
Merge pull request #23317 from aanm/removing-ipv4-enforcement
...
Automatic merge from submit-queue
Remove requirement that Endpoints IPs be IPv4
Signed-off-by: André Martins <aanm90@gmail.com>
Release Note: The `Endpoints` API object now allows IPv6 addresses to be stored. Other components of the system are not ready for IPv6 yet, and many cloud providers are not IPv6 compatible, but installations that use their own controller logic can now store v6 endpoints.
2016-04-21 03:34:50 -07:00
derekwaynecarr
fd04ff1bd1
Generated artifacts for ConfigMapList change
2016-04-21 02:07:45 -04:00
derekwaynecarr
155c1a4465
ConfigMapList.Items should not be omitempty
2016-04-21 02:07:45 -04:00
Prashanth Balasubramanian
0ac10c6cc2
PetSet type, apps apigroup
2016-04-20 18:49:31 -07:00
Clayton Coleman
86fb71aba7
Generated deep copies for new proto types
2016-04-20 12:13:09 -04:00
Clayton Coleman
e16a7f2421
Initial protobuf generated files
2016-04-20 12:13:05 -04:00
Clayton Coleman
cea4c010a6
Strip the proto build guard
2016-04-20 12:12:29 -04:00
AdoHe
16960d3ad2
fix reuse nodePort issue
2016-04-20 02:30:03 -04:00
k8s-merge-robot
6a7dcde2d5
Merge pull request #23955 from fejta/pkg-validation
...
Automatic merge from submit-queue
Use tagged gcr.io redis image for pkg/api tests
Migrate pkg/api/validation/testdata redis images to use tagged gcr.io version for https://github.com/kubernetes/kubernetes/issues/13288 and https://github.com/kubernetes/kubernetes/issues/20836
2016-04-19 16:37:13 -07:00
k8s-merge-robot
822618afb5
Merge pull request #23912 from smarterclayton/watch_until
...
Automatic merge from submit-queue
Add watch.Until, a conditional watch mechanism
A more powerful tool than wait.Poll, allows a watch interface to drive conditionals to react to changes on a resource or resources. Provide a set of standard conditions that are in common use in the code, and updates e2e to use a few of these.
Extracted from #23567
2016-04-16 21:05:40 -07:00
Clayton Coleman
f89bde1415
Add watch.Until, a conditional watch mechanism
...
Also add helpers for collecting the events that happen during a watch
and a helper that makes it easy to start a watch from any object with
ObjectMeta.
2016-04-15 11:49:07 -04:00
Chakravarthy Nelluri
f53bc4ebe0
Flexvolume: Add support for multiple secrets
2016-04-15 02:40:38 -07:00
nikhiljindal
6eae11e166
Updating the schema validation code
2016-04-14 18:07:00 -07:00
Erick Fejta
eb0352cf2d
Use fake images for pkg/api/validation unit tests
2016-04-14 17:13:15 -07:00
Daniel Smith
490c68dbe3
Merge pull request #23768 from wojtek-t/conversions_with_framework_6
...
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -07:00
André Martins
c1a360b1d5
Removing IPv4 enforcement on Endpoints
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-04-14 16:20:00 +01:00
Salvatore Dario Minonne
f4ed4998ff
Adding loadbalancer services to quota
2016-04-14 14:06:42 +02:00
k8s-merge-robot
20eccc24cd
Merge pull request #24143 from goltermann/vetclean
...
Automatic merge from submit-queue
Final vet fixes; enabling vet checks in verify scripts.
Fixes #22523 , #22524
2016-04-13 16:46:46 -07:00
Daniel Smith
4c539bf082
Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
...
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
k8s-merge-robot
8eb19c7889
Merge pull request #22154 from sdminonne/service_nodeports_quotas
...
Automatic merge from submit-queue
Adding nodeports services to quota
To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
k8s-merge-robot
f5e8e7453b
Merge pull request #23806 from smarterclayton/streaming_watch
...
Automatic merge from submit-queue
Implement a streaming serializer for watch
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
@wojtek-t @lavalamp
2016-04-13 05:18:17 -07:00
k8s-merge-robot
acf9492cb1
Merge pull request #23660 from goltermann/vetclean
...
Automatic merge from submit-queue
Additional go vet fixes
Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
Salvatore Dario Minonne
15b7577454
Adding nodeports services to quota
2016-04-12 11:09:16 +02:00
Clayton Coleman
3474911736
Implement a streaming serializer for watch
...
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Wojciech Tyczynski
7448cc04e1
Switch to new generator
2016-04-11 08:04:45 +02:00
Wojciech Tyczynski
cd2de7d4cd
Merge pull request #23741 from wojtek-t/conversions_with_framework_5
...
Small improvements in conversion generator
2016-04-10 22:51:26 -07:00
Wojciech Tyczynski
6d954a1490
Merge pull request #23871 from smarterclayton/proto_timestamp
...
Implement a simpler unversioned.Time serialization
2016-04-10 22:47:49 -07:00
nikhiljindal
b476ee4b12
Allowing type object in kubectl swagger validation
2016-04-08 17:26:35 -07:00
goltermann
696423e044
Vet fixes, mostly pass lock by value errors.
2016-04-06 11:27:40 -07:00
Clayton Coleman
1f012a2bb3
Implement a simpler unversioned.Time serialization
...
Time is the number of seconds since the unix epoch and is consistent
with our JSON fields.
2016-04-05 11:19:24 -04:00
Wojciech Tyczynski
49d3c3962c
Small improvements in conversion generator
2016-04-05 02:10:23 +02:00
Wojciech Tyczynski
53f433f019
Remove Set() from storage.Interface.
2016-04-04 17:54:18 +02:00
k8s-merge-robot
b1b58c4165
Merge pull request #23596 from deads2k/relax-case-in-restmapper
...
Automatic merge from submit-queue
relax restmapper resource matching
We were matching case insensitive on Kinds, not Resources, thus driving me insane.
@liggitt @caesarxuchao
2016-04-02 14:12:32 -07:00
k8s-merge-robot
f5c93c8ddc
Merge pull request #23472 from wojtek-t/fix_object_meta_for
...
Automatic merge from submit-queue
Switch from api.ObjectMetaFor to meta.Accessor in most of places
Fix #23278
@smarterclayton @lavalamp
2016-04-02 02:33:40 -07:00
k8s-merge-robot
f8ea3fab53
Merge pull request #23427 from wojtek-t/conversions_with_framework_4
...
Automatic merge from submit-queue
Migrate to the new conversion generator - part1
This PR contains two commits:
- few more fixes to the generator
- migration of the pkg/api/v1 to use the new generator
The second commit is big, but I reviewed the changes and they contain:
- conversions between types that we didn't even generating conversion between
- changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic
- lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists
Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now.
2016-03-31 17:28:36 -07:00
Wojciech Tyczynski
2699be2e7e
Switch api.ObjetaMetaFor to meta.Accessor
2016-03-31 17:52:31 +02:00
Clayton Coleman
f2139b186c
Add an experimental protobuf serializer
...
Provide a core protobuf serializer that can either write objects with
an envelope (a 4 byte prefix and a runtime.Object) or raw to a byte
array.
2016-03-31 10:41:11 -04:00
deads2k
936421a4ab
relax restmapper resource matching
2016-03-30 15:37:47 -04:00
Wojciech Tyczynski
700e459434
Regenerate conversions
2016-03-29 09:55:07 +02:00
Wojciech Tyczynski
9ee8278e4a
Fix remaining issues with conversion generator.
2016-03-29 09:49:27 +02:00
Paul Morie
b8db049358
Fix typo in PV reclaim policy API doc
2016-03-28 19:13:48 -04:00
Clayton Coleman
18906e0bcc
Change PreferredSchedulingTerm to int32
...
Follow our external conventions and allow protobuf
2016-03-26 22:15:30 -04:00
k8s-merge-robot
1ad3049ed6
Merge pull request #23288 from smarterclayton/refactor_codec
...
Auto commit by PR queue bot
2016-03-26 10:47:58 -07:00
k8s-merge-robot
95e09e303f
Merge pull request #22965 from caesarxuchao/delete-UID-precondition
...
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Chao Xu
31b425b3a1
add delete precondition
2016-03-25 11:21:39 -07:00
k8s-merge-robot
b8e390a0f3
Merge pull request #22824 from brendandburns/enable
...
Auto commit by PR queue bot
2016-03-24 22:26:39 -07:00
k8s-merge-robot
4e4ad61260
Merge pull request #23366 from goltermann/vet
...
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
k8s-merge-robot
8355cefb7b
Merge pull request #23373 from wojtek-t/conversions_with_framework_3
...
Auto commit by PR queue bot
2016-03-24 01:39:23 -07:00
Wojciech Tyczynski
42e7ecda5a
Fix bunch of issues with conversion generator.
2016-03-24 08:26:51 +01:00
k8s-merge-robot
dae5ac4828
Merge pull request #22913 from liggitt/unit-test-package
...
Auto commit by PR queue bot
2016-03-23 21:46:34 -07:00
Clayton Coleman
54eaa56b92
Add a streaming and "raw" abstraction to codec factory
2016-03-23 17:25:20 -04:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
Brendan Burns
87a1635c93
Machine generated stuff
2016-03-22 14:41:37 -07:00
k8s-merge-robot
772069feca
Merge pull request #23176 from pmorie/unique-volume-mount
...
Auto commit by PR queue bot
2016-03-22 05:40:17 -07:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Wojciech Tyczynski
89585237cd
Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding.
2016-03-18 12:35:27 +01:00
Paul Morie
24aade64f5
Validate that volume mountpoints are unique
2016-03-17 23:52:34 -04:00
Wojciech Tyczynski
7e2fdeae7b
Regenerate autogenerate files
2016-03-17 15:22:19 +01:00
k8s-merge-robot
53c6b35b71
Merge pull request #23038 from wojtek-t/rename_raw_json_to_raw
...
Auto commit by PR queue bot
2016-03-17 04:05:43 -07:00
k8s-merge-robot
2880708444
Merge pull request #23030 from timothysc/api_etcd_error
...
Auto commit by PR queue bot
2016-03-17 03:30:59 -07:00
Wojciech Tyczynski
e610c137c0
Regenerate auto-generated files
2016-03-17 09:30:02 +01:00
Thomas Graf
44eaf33056
api/endpoints/util: Add some IPv6 address testcases
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2016-03-17 01:27:16 +01:00
k8s-merge-robot
c412dcba7f
Merge pull request #23023 from caesarxuchao/minor-fix-aliases
...
Auto commit by PR queue bot
2016-03-16 10:35:36 -07:00
Wojciech Tyczynski
218d3e5923
Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding.
2016-03-16 16:43:58 +01:00
Timothy St. Clair
d3da93c174
Renaming api/errors/etcd to api/errors/storage as it no longer
...
has any etcd specific dependencies. Reference issue #17546
2016-03-15 20:23:47 -05:00
Chao Xu
51886c3880
move aliasToResource to a field of DefaultRESTMapper
2016-03-15 16:07:25 -07:00
Chao Xu
9bdd30fdf1
make fullyLabeledReplicas optional in rc and rs status
2016-03-15 15:10:55 -07:00
Jordan Liggitt
3594370cfe
register internal types with scheme for reference unit test
2016-03-12 19:06:20 -05:00
Jordan Liggitt
d008283942
Tolerate multiple registered versions in a single group
2016-03-12 12:49:41 -05:00
Chao Xu
a6240c1ab8
add FullyLabeledReplicas in Replicaset Status and ReplicationController Status
2016-03-11 23:55:04 -08:00
deads2k
5bd161a9cc
allow resource.version.group in kubectl
2016-03-11 10:21:50 -05:00
k8s-merge-robot
7341b0a265
Merge pull request #22766 from aveshagarwal/master-limitranges-validation-fix
...
Auto commit by PR queue bot
2016-03-10 15:59:23 -08:00
Avesh Agarwal
427774306c
Fix validation of resources (cpu, memory, storage) for limit range types.
2016-03-10 11:33:53 -05:00
Madhusudan.C.S
fe26381c90
Support for both map-based and set-based selectors in extensions/v1beta1.Scale
...
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
extensions Scale type (extensions/v1beta1.Scale). This is a serialized
version of either the map-based selector (in case of ReplicationControllers)
or the unversioned.LabelSelector struct (in case of Deployments and
ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
single internal selector field. The rules for conversion are as follows:
i. If the target resource that this scale targets supports LabelSelector
(Deployments and ReplicaSets), then serialize the LabelSelector and
store the string in the TargetSelector field in the external version
and leave the map-based Selector field as nil.
ii. If the target resource only supports a map-based selector
(ReplicationControllers), then still serialize that selector and
store the serialized string in the TargetSelector field. Also,
set the the Selector map field in the external Scale type.
iii. When converting from external to internal version, parse the
TargetSelector string into LabelSelector struct if the string isn't
empty. If it is empty, then check if the Selector map is set and just
assign that map to the MatchLabels component of the LabelSelector.
iv. When converting from internal to external version, serialize the
LabelSelector and store it in the TargetSelector field. If only
the MatchLabel component is set, then also copy that value to
the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
k8s-merge-robot
f046d6c83e
Merge pull request #22420 from AdoHe/kubectl_swagger_cache
...
Auto commit by PR queue bot
2016-03-07 15:18:56 -08:00
k8s-merge-robot
95ab1936ea
Merge pull request #22559 from krousey/discbreak
...
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
k8s-merge-robot
b198c820cd
Merge pull request #22402 from erictune/psp-simplify
...
Auto commit by PR queue bot
2016-03-05 07:55:19 -08:00
AdoHe
893e36c61d
fix kubectl swagger cache bug
2016-03-04 18:59:40 -05:00
Abhi Shah
9bfd70f8f6
Merge pull request #20688 from ArtfulCoder/podhostname
...
Specify Pod hostname by Annotation
2016-03-04 15:17:34 -08:00
k8s-merge-robot
2a6d0756d2
Merge pull request #22553 from janetkuo/etcd-storage-update-interpret
...
Auto commit by PR queue bot
2016-03-04 15:14:52 -08:00
Kris
dbde4fd798
Move the discovery client to its own package
2016-03-04 13:44:52 -08:00
Abhishek Shah
a3c00aadd5
Specify hostname, subdomain via annotation on podspec.
...
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Janet Kuo
b45dce5aff
Interpret etcd not found error on a update
2016-03-04 12:06:13 -08:00
Abhi Shah
b25a48d605
Revert "Move discovery client to its own package"
2016-03-04 09:24:54 -08:00
Abhi Shah
627edd2588
Merge pull request #22016 from krousey/discbreak
...
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
k8s-merge-robot
0e3469dce3
Merge pull request #22183 from pmorie/config-quota
...
Auto commit by PR queue bot
2016-03-04 03:12:51 -08:00
k8s-merge-robot
de72b6be1b
Merge pull request #21907 from justinsb/load_balancer_source_ranges
...
Auto commit by PR queue bot
2016-03-03 14:10:47 -08:00
Eric Tune
4d090bfb09
Rename PodSecurityPolicy fields
...
In podSecurityPolicy:
1. Rename .seLinuxContext to .seLinux
2. Rename .seLinux.type to .seLinux.rule
3. Rename .runAsUser.type to .runAsUser.rule
4. Rename .seLinux.SELinuxOptions
1,2,3 as suggested by thockin in #22159 .
I added 3 for consistency with 2.
2016-03-03 11:49:48 -08:00
Jeff Lowdermilk
b05cf6d53a
Merge pull request #22204 from thockin/path-colon
...
Validate volume paths do not have ':'
2016-03-03 11:41:47 -08:00
Justin Santa Barbara
cb92133dfa
LB Source Ranges: Move validation into API layer
...
Had to move other things around too to avoid a weird api ->
cloudprovider dependency.
Also adding fixes per code reviews.
(This is a squash of the previously approved commits)
2016-03-03 10:27:17 -05:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05:00
Paul Morie
834776aa1f
Add resource quota for ConfigMap
2016-03-02 09:59:51 -05:00
k8s-merge-robot
47fda638b6
Merge pull request #21744 from ethernetdan/defaultrestmapper-pkg-path-check
...
Auto commit by PR queue bot
2016-03-01 04:25:23 -08:00
k8s-merge-robot
a608cc94e8
Merge pull request #22156 from caesarxuchao/revert-20202
...
Auto commit by PR queue bot
2016-02-29 18:24:31 -08:00
Kris
f22664159e
Move the discovery client to its own package
2016-02-29 15:37:21 -08:00
Tim Hockin
56be551416
Validate volume paths do not have ':'
2016-02-29 13:22:45 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
Chao Xu
8566056d18
revert 20202
2016-02-28 19:03:22 -08:00
k8s-merge-robot
6f8a951f87
Merge pull request #20446 from derekwaynecarr/quota_scopes
...
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
k8s-merge-robot
c4ffcbdbaa
Merge pull request #21398 from liggitt/time-param
...
Auto commit by PR queue bot
2016-02-27 03:37:07 -08:00
Fabio Yeon
375b4ca8d6
Revert "Revert 20202. Use other measures to prevent race in test-cmd.sh"
2016-02-26 19:25:08 -08:00
k8s-merge-robot
a5ceafc48a
Merge pull request #21175 from caesarxuchao/revert-20202
...
Auto commit by PR queue bot
2016-02-26 18:33:42 -08:00
derekwaynecarr
df064bd53d
ResourceQuota API validation for scopes and new resource types
2016-02-26 20:34:14 -05:00
derekwaynecarr
d02c8dcd2e
Generated code for ResourceQuota API change
2016-02-26 20:34:14 -05:00
derekwaynecarr
55e3824272
Modify ResourceQuota API to support requests/limits; scope filtering
2016-02-26 20:34:13 -05:00
Fabio Yeon
fedca86c75
Merge pull request #21884 from swagiaal/remove-be-formatted
...
Remove 'be formatted' from VolumeSource docs
2016-02-26 13:06:01 -08:00
Fabio Yeon
3dab166da4
Merge pull request #21776 from erictune/job-sel-gen
...
Selector generation for batch/v1 Job
2016-02-26 11:58:21 -08:00
k8s-merge-robot
f15d8528b6
Merge pull request #21603 from madhusudancs/scale-internal-autoscale
...
Auto commit by PR queue bot
2016-02-26 03:48:11 -08:00
Madhusudan.C.S
b69ec9faff
Teach serde test to deal with autoscaling group's duality.
2016-02-25 15:05:28 -08:00
Sami Wagiaalla
d7c6eb92d9
Remove 'be formatted' from VolumeSource docs
...
Volumes do not need to be formatted as we now have the
SafeFormatAndMount utility which formats volumes when needed.
2016-02-25 16:19:35 -05:00
Eric Tune
875755f992
Added Selector Generation to Job.
...
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.
Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.
Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal. Conversion between those two
is automatic.
Adds "autoSelector" field to extensions/v1beta1 Job. Used for storing batch/v1 Jobs
- Default for v1 is to do generation.
- Default for v1beta1 is to not do it.
- In both cases, unset == false == do the default thing.
Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.
The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
In v1, a unique label is generated and added to the pod template, and used as the selector (other
labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
versus a more error-prone but more flexible "manual" (not generated) seletor. Most users
will not need to use this field and should leave it unset.
Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior. They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
deads2k
9c42d219bc
allow disambiguation of resouces
2016-02-25 07:35:23 -05:00
deads2k
2b84d58b6d
add a PriorityRESTMapper that can choose particular group/version of a resource
2016-02-25 07:35:23 -05:00
deads2k
2e64a0d10c
update multiRESTMapper to properly union constituent RESTMappers
2016-02-25 07:35:22 -05:00
Jordan Liggitt
ea59b4c741
Fix sinceTime pod log options
2016-02-25 00:46:13 -05:00
Jordan Liggitt
b502b8f6a1
Restore service port validation compatibility with 1.0/1.1
2016-02-23 21:27:44 -05:00
kargakis
2cb37f3500
update generation api comments
2016-02-23 19:30:33 +01:00
Dan Gillespie
55cb45afd2
changed NewDefaultRESTMapper to check for a partial package path
2016-02-23 04:24:01 -08:00
k8s-merge-robot
aee2eb3977
Merge pull request #21434 from erictune/job-ga
...
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
807344da0b
Merge pull request #21235 from davidopp/affinity-docs
...
Auto commit by PR queue bot
2016-02-20 11:15:02 -08:00
Chao Xu
4342a8c4f0
revert 20202
2016-02-19 11:37:54 -08:00
Eric Tune
b4d454e9d5
Autogenerate.
2016-02-19 09:48:03 -08:00
Eric Tune
3433d50bc3
Fix test and reorder initialization of groups
...
Delete a job scale test
A subsequent PR is going to remove support
for this anyways.
Initialize extensions before batch and autoscaling
per @lavalamp review suggestion.
2016-02-19 09:22:05 -08:00
Eric Tune
175addf2a3
Implemented Batch client
2016-02-19 09:20:56 -08:00
Eric Tune
d5f303d3d7
Fixed and added tests
2016-02-19 09:20:56 -08:00
k8s-merge-robot
057b8352ec
Merge pull request #21182 from vishh/repoTagsRename
...
Auto commit by PR queue bot
2016-02-19 08:56:09 -08:00
k8s-merge-robot
5d7d0eea2e
Merge pull request #20626 from nikhiljindal/serverIPInDiscovery
...
Auto commit by PR queue bot
2016-02-18 21:53:24 -08:00
k8s-merge-robot
f1cbaed60f
Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
...
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
David Oppenheimer
053f1c6008
Update user guide and scheduler documentation to describe node affinity.
...
Register image priority locality function, which the original PR that introduced
it forgot to do. Change zone and region labels to beta.
2016-02-18 17:09:41 -08:00
nikhiljindal
20ce4aed0e
Adding hostname to groups discovery information
2016-02-18 11:58:11 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
k8s-merge-robot
17325ef6ef
Merge pull request #20501 from piosz/hpa-ga
...
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
Piotr Szczesniak
c02e966d65
Applied comments from the review
2016-02-18 14:18:39 +01:00
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
k8s-merge-robot
ef505d8fa3
Merge pull request #19771 from derekwaynecarr/field_selector
...
Auto commit by PR queue bot
2016-02-17 09:20:40 -08:00
k8s-merge-robot
0866c377e9
Merge pull request #18010 from feihujiang/supportSubresourceOfNodeProxy
...
Auto commit by PR queue bot
2016-02-17 08:15:50 -08:00
Vishnu kannan
2623fdde17
Improve the naming of fields in ContainerImage struct used in NodeStatus.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 15:45:22 -08:00
derekwaynecarr
76f2cc6a11
Add field selector for pod.spec.restartPolicy
2016-02-16 16:51:42 -05:00
k8s-merge-robot
c91a79be45
Merge pull request #21199 from erictune/validation-helper
...
Auto commit by PR queue bot
2016-02-16 07:07:49 -08:00
feihujiang
e85253916f
Support the subresource of node proxy
2016-02-16 17:02:45 +08:00
k8s-merge-robot
84da994d68
Merge pull request #21088 from derekwaynecarr/improve_helpers
...
Auto commit by PR queue bot
2016-02-15 14:21:26 -08:00
Piotr Szczesniak
d9705940d6
Fixed and added tests
2016-02-15 21:39:00 +01:00
derekwaynecarr
c5cb09405c
Improve persistent volume claim validation
2016-02-15 15:13:53 -05:00
k8s-merge-robot
c48e94df89
Merge pull request #20956 from derekwaynecarr/cleanup_validation
...
Auto commit by PR queue bot
2016-02-15 11:55:54 -08:00
derekwaynecarr
a03361bd84
Make default format right for nil values
2016-02-15 13:55:33 -05:00
deads2k
9901a386c3
remove ResourceIsValid
2016-02-15 07:49:48 -05:00
k8s-merge-robot
39a9043b8e
Merge pull request #21095 from liggitt/sa-namespace
...
Auto commit by PR queue bot
2016-02-14 22:13:10 -08:00
k8s-merge-robot
4ff418ca50
Merge pull request #21057 from davidopp/work1
...
Auto commit by PR queue bot
2016-02-14 20:48:17 -08:00
David Oppenheimer
66368efad5
Comment out NodeAffinity.RequiredDuringSchedulingRequiredDuringExecution
...
because it is not yet implemented.
2016-02-14 17:46:13 -08:00
Paul Morie
8323bb1727
Regen for ConfigMap volume
2016-02-14 16:28:59 -05:00
Paul Morie
d1dc259ef2
ConfigMap volume source
2016-02-14 16:19:17 -05:00
k8s-merge-robot
44d12a1389
Merge pull request #20782 from nickschuch/readonly_container_2
...
Auto commit by PR queue bot
2016-02-14 13:18:24 -08:00
k8s-merge-robot
f7de1b914c
Merge pull request #20968 from deads2k/fix-resource-partial-match
...
Auto commit by PR queue bot
2016-02-14 02:19:31 -08:00
Nick Schuch
5d511aeb54
Adds ReadOnlyRootFilesystem support for containers
2016-02-14 15:39:51 +10:00
Tim Hockin
a3d688fc06
Update docs about ports, fix nits
2016-02-13 20:24:21 -08:00
k8s-merge-robot
d6b4ff3884
Merge pull request #20909 from Clarifai/instance-type-label
...
Auto commit by PR queue bot
2016-02-13 18:51:42 -08:00
k8s-merge-robot
53d9f9ecab
Merge pull request #20814 from deads2k/restmapper-errors
...
Auto commit by PR queue bot
2016-02-13 15:53:22 -08:00
k8s-merge-robot
f43b849e54
Merge pull request #20770 from liggitt/ugorji-var-reset
...
Auto commit by PR queue bot
2016-02-13 14:59:38 -08:00
k8s-merge-robot
54b13b4c24
Merge pull request #20511 from deads2k/fix-singularizer
...
Auto commit by PR queue bot
2016-02-13 13:25:44 -08:00
Jordan Liggitt
dd5d98d80a
regen codecs
2016-02-13 09:15:39 -05:00
Eric Tune
825dc470cc
Add a validation helper function.
...
I will use this in a subsequent PR as part of #12298
2016-02-12 14:38:22 -08:00
Rudi Chiarito
b3863eae82
Add instance-type label to cloud providers
...
Fully implemented for AWS and GCE
2016-02-12 15:02:03 -05:00
Mike Danese
5516b8684f
Merge pull request #20937 from madhusudancs/daemonset-update-type-revert
...
Revert DaemonSet update.
2016-02-12 10:36:04 -08:00
deads2k
2d0fe7dbf1
let singularization handle non-conflicting ambiguity
2016-02-12 08:28:32 -05:00
Jordan Liggitt
20216fa607
Provide current namespace to InClusterConfig
2016-02-11 15:51:31 -05:00
derekwaynecarr
cc2137fccc
Fixup validation for containers requests or limits to use quantity comparison
2016-02-11 15:34:00 -05:00
deads2k
deb4d3ccca
type RESTMapper errors to better handle MultiRESTMapper errors
2016-02-11 11:45:05 -05:00
k8s-merge-robot
60432ab25b
Merge pull request #20994 from janetkuo/fix-get-repliasets
...
Auto commit by PR queue bot
2016-02-10 20:31:50 -08:00
Chao Xu
1c84552757
generate the versioned clientset
2016-02-10 17:22:46 -08:00
Madhusudan.C.S
ad9ba23995
Comment out DaemonSet update type fields and remove the code that depends on it.
...
Leaving the type fields as comments for reference and reminder. But
deleting the conversion, defaulting and validation code. They can
always be brough back from the previous PR once the types are
introduced. Because builds break without them anyway that serves as a
reminder, so there is no need to leave them commented out.
2016-02-10 15:44:01 -08:00
Janet Kuo
a86b30e7a8
Fix selector output when get/describe replicasets
2016-02-10 11:13:46 -08:00
k8s-merge-robot
66e872227a
Merge pull request #20886 from mqliang/ReplicaSet-kubectl
...
Auto commit by PR queue bot
2016-02-10 06:16:03 -08:00
deads2k
5822955713
make partial resource detection work for singular matches
2016-02-10 08:11:13 -05:00
k8s-merge-robot
36c25be657
Merge pull request #19921 from jsafrane/devel/remove-fstype-check
...
Auto commit by PR queue bot
2016-02-09 21:17:19 -08:00
k8s-merge-robot
b98d9a21a1
Merge pull request #20818 from deads2k/remove-mixed-case
...
Auto commit by PR queue bot
2016-02-09 05:06:45 -08:00
Jan Safranek
40c97ddd5f
Remove validation of *VolumeSource.FSType.
...
Most volume plugins use SafeFormatAndMount, which uses ext4 by default.
FlexVolume plugin has FSType attribute 'omitempty', so reflect it in the
description of the type.
2016-02-09 09:13:06 +01:00
mqliang
b5e99be81c
implement kubectl get/describe for ReplicaSet
2016-02-09 13:56:21 +08:00
Huamin Chen
d7e4b826b9
support Azure File Service volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Jordan Liggitt
545f6be573
Regenerate types.go
2016-02-08 17:19:15 -05:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
k8s-merge-robot
1f113d6a38
Merge pull request #20730 from deads2k/add-string-for-debug
...
Auto commit by PR queue bot
2016-02-06 21:48:00 -08:00
k8s-merge-robot
6103b8713e
Merge pull request #20648 from deads2k/fix-validation
...
Auto commit by PR queue bot
2016-02-06 17:13:19 -08:00
k8s-merge-robot
aac20ed69d
Merge pull request #20600 from freehan/servicevalidation
...
Auto commit by PR queue bot
2016-02-06 10:23:18 -08:00
k8s-merge-robot
6614b833cb
Merge pull request #20505 from derekwaynecarr/quantity_fix
...
Auto commit by PR queue bot
2016-02-06 07:18:51 -08:00
k8s-merge-robot
0ad6326d7f
Merge pull request #20170 from pmorie/update-ads-pod
...
Auto commit by PR queue bot
2016-02-05 20:37:39 -08:00
Madhusudan.C.S
0bcab9ab11
Implement ReplicaSet registry.
2016-02-05 16:14:10 -08:00
Paul Morie
0b82d0b491
Allow pod.Spec.ActiveDeadlineSeconds to be updateable
2016-02-05 15:58:31 -05:00
Prashanth Balasubramanian
c56bebf594
Basic TLS support.
2016-02-05 11:00:04 -08:00
deads2k
4175688460
add restmapper Stringer methods for debugging
2016-02-05 12:47:25 -05:00
Rudi Chiarito
a2d1bb7acf
Add httpHeaders to httpGet liveness probe
...
Also update existing documentation and try to steer users away from 'host'.
Add validation.
2016-02-05 11:20:04 -05:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05: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
e6639de333
Merge pull request #20380 from mqliang/podcidr-validation
...
pod cidr validation
2016-02-04 23:16:02 -08:00
Eric Tune
eba2c56566
hack/update-generated-swagger-docs.sh
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
derekwaynecarr
2ad322f295
Add or subtract from zero should not lose format
2016-02-04 13:16:47 -05:00
deads2k
e084578148
fix validation error path for namespace
2016-02-04 10:10:49 -05:00
k8s-merge-robot
f3429776c2
Merge pull request #20598 from mikedanese/serialization-tests
...
Auto commit by PR queue bot
2016-02-03 19:46:28 -08:00
Kevin
c8c82c1d8f
implement Node affinity and NodeSelector
2016-02-04 01:53:14 +00:00
Mike Danese
216a35d988
run serialization tests on all apigroups registered in testapi
2016-02-03 17:41:02 -08:00
Minhan Xia
ec7366fc2a
add service validation for mix protocol
2016-02-03 14:54:32 -08:00
Wojciech Tyczynski
68d0f6387a
Regenerate auto-generated files
2016-02-03 13:35:09 +01:00
k8s-merge-robot
5914deeac8
Merge pull request #19380 from brendandburns/apiresource
...
Auto commit by PR queue bot
2016-02-03 00:49:47 -08:00
k8s-merge-robot
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
fdf6a0f61c
skip update when deleting with grace-period=0
2016-02-02 10:53:25 -08:00
k8s-merge-robot
072bfd40ca
Merge pull request #18556 from mqliang/podValidation
...
Auto commit by PR queue bot
2016-02-02 10:26:43 -08:00
k8s-merge-robot
71727385e8
Merge pull request #20069 from BugRoger/cephfs_subtree_mount_master
...
Auto commit by PR queue bot
2016-02-02 02:15:35 -08:00
Mike Danese
896c670fb9
conversion: add default conversion for {string,bool} ptr to {string,bool}
...
This is useful because it allows defaulting to infer wheter a
string,bool value was provided by the user while still having the field
represented as a non pointer type in the internal representation.
2016-02-01 16:01:19 -08:00
Michael Schmidt
92d814725b
add generated code
2016-02-01 22:31:44 +01:00
Michael Schmidt
1373e0139d
CephFS: Add subdir Option for Changing Mounted Root Directory
2016-02-01 22:01:19 +01:00
k8s-merge-robot
54808fb7ab
Merge pull request #19824 from pmorie/env-source-variant
...
Auto commit by PR queue bot
2016-01-31 20:12:08 -08:00
k8s-merge-robot
9d9864486b
Merge pull request #19342 from caesarxuchao/remove-resourceversion-check
...
Auto commit by PR queue bot
2016-01-31 18:11:47 -08:00
Chao Xu
90b4662d8d
Add services/status path, and let the service controller uses Services.UpdateStatus()
2016-01-31 12:39:45 -08:00
mqliang
470d7af8c9
pod cidr validation
2016-01-31 11:49:31 +08:00
k8s-merge-robot
6f66dbb9ab
Merge pull request #20127 from smarterclayton/remove_conversion_scheme
...
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
Clayton Coleman
60b66665e1
Move conversion.Scheme to runtime
...
There is only one type registry to rule them all
2016-01-30 14:12:40 -05:00
k8s-merge-robot
dc3ee665a7
Merge pull request #19970 from caesarxuchao/namespaced-cacher
...
Auto commit by PR queue bot
2016-01-30 03:44:19 -08:00
k8s-merge-robot
858a21f6e8
Merge pull request #19909 from pmorie/config-size-limit
...
Auto commit by PR queue bot
2016-01-30 01:32:08 -08:00
k8s-merge-robot
7912682595
Merge pull request #20226 from smarterclayton/fix_extract_list
...
Auto commit by PR queue bot
2016-01-29 17:15:30 -08:00
Paul Morie
defd1d0544
Add size limit for ConfigMap
2016-01-29 00:14:28 -05:00
Chao Xu
ebcff4b5e4
fix the namespaceScoped of cachers
2016-01-28 16:24:54 -08:00
Paul Morie
f2d1a20178
Regen for ConfigMap API move
2016-01-28 17:17:24 -05:00
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -05:00
Fabio Yeon
c6253c8d5e
Merge pull request #19971 from feihujiang/fixErrorCommentInNodeCondition
...
Fix a small error comment in nodecondition type
2016-01-28 14:01:54 -08:00
k8s-merge-robot
458eb5284a
Merge pull request #19105 from smarterclayton/prepare_negotiate
...
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Clayton Coleman
71a13f7f4b
ExtractList should handle v1.RawExtension correctly
...
Also fixes CustomColumnPrinter to pass decoder in, and ensures a test
case tests the combined path.
2016-01-27 15:30:21 -05:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
jhadvig
5927ad81be
Additional SecretTypes
2016-01-26 14:34:12 +01:00
Clayton Coleman
3262d8efd8
GENERATED: all
2016-01-22 13:27:28 -05:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Chao Xu
a248d1117b
remove ResourceVersion validation in client
2016-01-22 10:14:39 -08:00
Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
feihujiang
50b6d3819f
Fix a small error comment in nodecondition type
2016-01-22 10:21:16 +08:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Alex Mohr
1ab41d5238
Merge pull request #16509 from miminar/namespace_field_conv
...
Add missing field label conversions for Namespace
2016-01-21 10:27:02 -08:00
k8s-merge-robot
3978c76a26
Merge pull request #18790 from erictune/secret-validate
...
Auto commit by PR queue bot
2016-01-21 00:46:49 -08:00
k8s-merge-robot
8ed248021e
Merge pull request #17650 from jsafrane/devel/cinder-format
...
Auto commit by PR queue bot
2016-01-20 22:18:25 -08:00
Paul Morie
a45cbcd8a2
Add validation for EnvVarSource variant
2016-01-20 11:10:09 -05:00
k8s-merge-robot
1c861d43ac
Merge pull request #18298 from pmorie/secret-env
...
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
Eric Tune
4a3d4defdf
Validate kubernetes.io/dockerconfigjson secrets
...
Added unit test.
2016-01-19 12:35:30 -08:00
Jan Safranek
f912870784
openstack: Use common SafeFormatAndMount() for mounting.
...
There is no reason for OpenStack + Cinder to use it's own variant of format
& mount.
2016-01-19 09:36:38 +01:00
Matt McNaughton
90d68a53b3
Rename Positive qualifier to Nonnegative
...
It makes more sense for `ValidatePositiveField` and
`ValidatePositiveQuantity` methods to be named `ValidateNonnegativeField`
and `ValidateNonnegativeQuantity` as that is what is truly being
checked. This commit simply updates the method names everywhere they are
used.
2016-01-18 17:29:15 -05:00
Paul Morie
60cf252e8b
Add validation for variant-type of EnvVarSource
2016-01-18 15:07:48 -05:00
Paul Morie
394a7bb4d0
Regen for secrets in env
2016-01-18 12:32:32 -05:00
Paul Morie
c548054560
Add ability to consume secrets in env vars
2016-01-18 12:20:51 -05:00
k8s-merge-robot
21aa683fb5
Merge pull request #18974 from pmorie/config-env
...
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
Chao Xu
ec9771ccb6
add nonNamespaced comment tag; change the interface name
2016-01-14 10:46:08 -08:00
Paul Morie
17c8c8f9fc
Regenerate for configMap in env
2016-01-14 10:40:56 -05:00
Michal Minar
3188e123a9
Add missing field label conversions
...
Added missing field labels conversion functions for kinds:
- ConfigMap
- DaemonSet
- Deployment
- Endpoints
- Event
- Ingress
- Job
- PersistentVolume
- PersistentVolumeClaim
- ResourceQuota
- Secret
- Service
Completed conversion functions of few other kinds:
- Namespace
- ServiceAccount
Added tests suite for the above.
Signed-off-by: Michal Minar <miminar@redhat.com>
2016-01-14 10:00:45 +01:00
Paul Morie
6cfd101251
Add support for ConfigMap keys in env vars
2016-01-13 17:00:15 -05:00
k8s-merge-robot
9e66a8f134
Merge pull request #18855 from deads2k/gv-stop-reverse
...
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
k8s-merge-robot
c255181509
Merge pull request #18248 from resouer/images-dev
...
Auto commit by PR queue bot
2016-01-11 23:53:43 -08:00
k8s-merge-robot
170c03a85f
Merge pull request #16354 from mdshuai/valid-supplemental-groups
...
Auto commit by PR queue bot
2016-01-11 00:48:34 -08:00
mdshuai
27934da9cc
Validate uids and gids for securitycontext
2016-01-11 15:17:25 +08:00
k8s-merge-robot
609cdfd267
Merge pull request #19331 from resouer/hash-util
...
Auto commit by PR queue bot
2016-01-09 13:08:01 -08:00
k8s-merge-robot
8ea6faef0b
Merge pull request #18109 from timstclair/resource-granule
...
Auto commit by PR queue bot
2016-01-08 13:16:15 -08:00
k8s-merge-robot
37b5726716
Merge pull request #14431 from Defensative/UDP-LB
...
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
k8s-merge-robot
2106c72133
Merge pull request #17548 from timstclair/suffix
...
Auto commit by PR queue bot
2016-01-08 01:52:16 -08:00
harry
3a9de6ee56
Updated generated code and docs
2016-01-08 17:13:02 +08:00
harry zhang
27ca7dc71e
Expose image list in node status
...
Change image manager to use repotag
2016-01-08 17:01:31 +08:00
Brendan Burns
79533385cf
Add kind to APIResource
2016-01-07 22:27:34 -08:00
Tim St. Clair
e50059de07
Enforce minimum resource granularity
...
Enforce minimum resource granularity of milli-{core, bytes} for Storage,
Memory, and CPU resource types. For Storage and Memory, milli-bytes are
allowed for backwards compatability, but the behavior is
undefinied (depends on docker implementation).
2016-01-07 14:55:19 -08:00
harry
2a52976983
Use hashutil to hold hash tools
2016-01-06 22:28:58 +08:00
Clayton Coleman
1220464f2a
Exclude new groupversion types from protobuf
2016-01-05 22:57:33 -05:00
Kenneth Shelton
9e6c45c395
Updated comments
...
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton
d399a8f8cc
* Added UDP LB support (for GCE)
2016-01-05 20:51:21 +00:00