Merge pull request #11087 from zmerlynn/automated-cherry-pick-of-#11084-on-upstream-release-0.21

Automated cherry pick of #11084
This commit is contained in:
Zach Loafman 2015-07-10 15:54:32 -07:00
commit fd254169c6

View File

@ -44,6 +44,9 @@ func addConversionFuncs() {
"status.phase", "status.phase",
"spec.nodeName": "spec.nodeName":
return label, value, nil return label, value, nil
// This is for backwards compatability with old v1 clients which send spec.host
case "spec.host":
return "spec.nodeName", value, nil
default: default:
return "", "", fmt.Errorf("field label not supported: %s", label) return "", "", fmt.Errorf("field label not supported: %s", label)
} }