Automatic merge from submit-queue (batch tested with PRs 36352, 36538, 37976, 36374) test: update deployment helper to return better error messages @kubernetes/deployment the problem with https://github.com/kubernetes/kubernetes/issues/36270 is that the selector key is never added in the deployment but this change would make it clearer.