kubernetes/pkg/genericapiserver/api
Kubernetes Submit Queue f8ed5c36aa Merge pull request #40080 from soltysh/fix_resttest
Automatic merge from submit-queue

Fix resttest Update action when AllowUnconditionalUpdate is false

Currently our storage Update test assumes that AllowUncoditionalUpdate returns true, and in testUpdateRejectsMismatchedNamespace updates the same object it's passing to create. This results in errors when trying to update that object, due to resourceVersion not being set to a proper value. This patch modifes this so that the update is executed on a stored object, which will have correct values set.

@deads2k ptal
@kubernetes/sig-api-machinery-misc fyi
2017-01-19 03:46:43 -08:00
..
filters genericapiserver: move pkg/auth/handlers into filters 2017-01-18 10:20:41 +01:00
handlers Merge pull request #39324 from wojtek-t/change_patch_api 2017-01-19 00:50:12 -08:00
openapi Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
rest Fix resttest Update action when AllowUnconditionalUpdate is false 2017-01-18 14:27:11 +01:00
testing refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
apiserver_test.go move admission to genericapiserver 2017-01-18 08:15:19 -05:00
apiserver.go mechanicals 2017-01-13 16:33:09 -05:00
BUILD move admission to genericapiserver 2017-01-18 08:15:19 -05:00
discovery.go mechanicals 2017-01-13 16:33:09 -05:00
doc.go Move pkg/{apiserver -> genericapiserver/api} 2017-01-03 14:54:03 +01:00
groupversion.go move admission to genericapiserver 2017-01-18 08:15:19 -05:00
installer_test.go refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
installer.go move PatchType to apimachinery 2017-01-17 08:32:05 -05:00
OWNERS Move pkg/{apiserver -> genericapiserver/api} 2017-01-03 14:54:03 +01:00
proxy_test.go Fix imports 2017-01-17 09:30:30 +01:00
watch_test.go refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00