Merge pull request #19771 from derekwaynecarr/field_selector

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-02-17 09:20:40 -08:00
3 changed files with 66 additions and 3 deletions

View File

@@ -87,7 +87,8 @@ func addConversionFuncs(scheme *runtime.Scheme) {
"metadata.annotations",
"status.phase",
"status.podIP",
"spec.nodeName":
"spec.nodeName",
"spec.restartPolicy":
return label, value, nil
// This is for backwards compatibility with old v1 clients which send spec.host
case "spec.host":