Jordan Liggitt
3f4ded12be
Add PATCH to supported list of proxy subresource verbs
2017-04-27 10:38:10 -04:00
Monis Khan
ed35deb69d
Default ObjectNameFunc for all REST Stores
...
All Stores in Kubernetes follow the same logic for determining the name
of an object. This change makes it so that CompleteWithOptions defaults
the ObjectNameFunc if it is not specified. Thus a user does not need to
remember to use ObjectMeta.Name. Using the wrong field as the name can
lead to an object which has a name that bypasses normal object name
validation.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2017-04-21 15:47:25 -04:00
Zihong Zheng
ae93b0da15
Refine NeedsHealthCheck logic
2017-04-17 14:26:02 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Chao Xu
08aa712a6c
move helpers.go to helper
2017-04-11 15:49:11 -07:00
deads2k
04460c8750
remove objectmetafor
2017-04-10 15:13:35 -04:00
Kubernetes Submit Queue
879f8e0c9c
Merge pull request #42182 from spxtr/fatalunit
...
Automatic merge from submit-queue
Change an Errorf to a Fatalf to prevent a panic.
In #37982 we see that if this error is hit then we will panic on the next line. Lets use `Fatalf` where appropriate :)
This does *not* fix the flake, since that's caused by the test assuming that a particular port is free.
2017-04-04 12:14:21 -07:00
Kubernetes Submit Queue
223ac9f8b0
Merge pull request #43260 from thockin/nodeport-allocation-rand-seed
...
Automatic merge from submit-queue (batch tested with PRs 42379, 42668, 42876, 41473, 43260)
Don't use global rand for nodeport and IP allocs
Seed it at construction.
2017-03-30 23:36:30 -07:00
Tim Hockin
348f7a7036
Don't use global rand for nodeport and IP allocs
...
Seed it at contruction.
2017-03-16 17:25:07 -07:00
Tim Hockin
cb95c479cb
Fix polarity of a test in NodePort allocation
...
The result of this was that an update to a Service would release the
NodePort temporarily (the repair loop would fix it in a minute). During
that window, another Service could get allocated that Port.
2017-03-16 17:19:26 -07:00
spxtr
824f466f17
Change an Errorf to a Fatalf to prevent a panic.
2017-02-27 10:50:03 -08:00
nikhiljindal
1d32897eed
Updating the registry to return whether the resource was immediately deleted
2017-02-21 11:00:35 -08:00
p0lyn0mial
b2cce0ac8e
added short names for resources which are exposed during discovery
2017-02-06 23:35:07 +01:00
Dr. Stefan Schimanski
6af3210d6f
Update generated files
2017-02-03 08:15:46 +01:00
Dr. Stefan Schimanski
536460e1d9
Mechanical fixup imports: pkg/genericapiserver
2017-02-03 08:15:45 +01:00
Dr. Stefan Schimanski
80b96b441b
Mechanical import fixup: pkg/storage
2017-02-03 07:33:43 +01:00
Dr. Stefan Schimanski
de2eee391a
Update bazel
2017-02-02 15:19:04 +01:00
Dr. Stefan Schimanski
b8142896a7
pkg/genericapiserver: cut off pkg/registry/cachesize dependency
2017-02-02 15:19:03 +01:00
Dr. Stefan Schimanski
871fc426b3
pkg/storage: move errors here from pkg/api/errors/storage
2017-02-02 15:17:34 +01:00
Dr. Stefan Schimanski
d6adb51e6c
pkg/api: move HasObjectMetaSystemFieldValues into apimachinery
2017-02-01 13:37:41 +01:00
Kubernetes Submit Queue
0469fc6fb6
Merge pull request #40742 from deads2k/generic-34-storage
...
Automatic merge from submit-queue (batch tested with PRs 40638, 40742, 40710, 40718, 40763)
move pkg/storage to apiserver
Mechanical move of `pkg/storage` (not sub packages) to `k8s.io/apiserver`.
@sttts
2017-01-31 20:40:43 -08:00
Kubernetes Submit Queue
8fe7a2decb
Merge pull request #40342 from louyihua/remove_warning
...
Automatic merge from submit-queue (batch tested with PRs 40111, 40368, 40342, 40274, 39443)
Eliminate "Unknown service type: ExternalName"
When creating an ExternalName service, rest.go still generate the warning message "Unknown service type: ExternalName". This should be eliminated as this type of service is supported now.
2017-01-31 19:18:41 -08:00
deads2k
1ef5d26079
move pkg/storage to apiserver
2017-01-31 19:07:33 -05:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
deads2k
9fb37f3bba
remove storage dependency on api
2017-01-27 14:02:28 -05:00
deads2k
aea12038b4
move storage/storagebackend to apiserver
2017-01-27 08:49:55 -05:00
Dr. Stefan Schimanski
2b8e938128
Update generated files
2017-01-24 20:56:03 +01:00
Dr. Stefan Schimanski
a6b2ebb50c
pkg/flag: make feature gate extensible and split between generic and kube
2017-01-24 20:56:03 +01:00
Dr. Stefan Schimanski
56d60cfae6
pkg/util: move flags from pkg/util/config to pkg/util/flags
2017-01-24 20:56:03 +01:00
Lou Yihua
352d64ab0d
Eliminate "Unknown service type: ExternalName"
...
As the ExternalName service is supported, the warning message: "Unknown
service type: ExternalName" should be eliminated from rest.go.
2017-01-24 13:15:36 +08:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
245b592fac
Convert core code to metav1.ListOptions
2017-01-23 17:52:45 -05:00
Clayton Coleman
a35be4e02e
Update registries to use metainternalversion list options
2017-01-23 17:52:45 -05:00
deads2k
11e8068d3f
move pkg/fields to apimachinery
2017-01-19 09:50:16 -05:00
Dr. Stefan Schimanski
3d9449a353
genericapiserver: fix imports
2017-01-19 13:06:47 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Dr. Stefan Schimanski
8fe0958ba0
Update bazel
2017-01-17 09:30:48 +01:00
Dr. Stefan Schimanski
5c88b7d05a
Fix imports
2017-01-17 09:30:30 +01:00
deads2k
a3e71b2cef
move name generation to generic api server storage helpers
2017-01-16 16:04:04 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
deads2k
31b6ba4e94
mechanicals
2017-01-13 16:33:09 -05:00
deads2k
633e9d98fc
use apimachinery packages instead of client-go packages
2017-01-13 14:04:54 -05:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
Timothy St. Clair
fbc5323dad
Refactor registry to use store vs. etcd
2017-01-12 09:23:38 -06:00
Dr. Stefan Schimanski
57e3a57c10
Split pkg/genericapiserver/api/request from ObjectMeta
2017-01-11 18:26:33 +01:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Dr. Stefan Schimanski
87dd990bb7
Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request
2017-01-03 14:57:33 +01:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Tim Hockin
64f5b050a1
Fix race in service nodeport allocator repair loop
2016-12-26 21:59:28 -08:00