• Kubernetes Submit Queue's avatar
    Merge pull request #40080 from soltysh/fix_resttest · f8ed5c36
    Kubernetes Submit Queue authored
    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
    f8ed5c36
Name
Last commit
Last update
..
filters Loading commit data...
handlers Loading commit data...
openapi Loading commit data...
rest Loading commit data...
testing Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
apiserver.go Loading commit data...
apiserver_test.go Loading commit data...
discovery.go Loading commit data...
doc.go Loading commit data...
groupversion.go Loading commit data...
installer.go Loading commit data...
installer_test.go Loading commit data...
proxy_test.go Loading commit data...
watch_test.go Loading commit data...