diff --git a/pkg/api/v1/conversion.go b/pkg/api/v1/conversion.go index 9463edc4421..7b82324ec43 100644 --- a/pkg/api/v1/conversion.go +++ b/pkg/api/v1/conversion.go @@ -44,6 +44,9 @@ func addConversionFuncs() { "status.phase", "spec.nodeName": 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: return "", "", fmt.Errorf("field label not supported: %s", label) }