• Clayton Coleman's avatar
    Can't replace a generic resource that is cluster scoped · d23c5318
    Clayton Coleman authored
    It should be allowed to invoke kubectl replace with a JSON file that has
    no resource version set.  Namespaced resources were working correctly,
    but cluster resources were silently failing to lookup the current state
    of the object to get the resource version because we weren't using
    NamespaceIfScoped(). Added a failing test.
    d23c5318
Name
Last commit
Last update
..
builder.go Loading commit data...
builder_test.go Loading commit data...
doc.go Loading commit data...
helper.go Loading commit data...
helper_test.go Loading commit data...
interfaces.go Loading commit data...
mapper.go Loading commit data...
result.go Loading commit data...
selector.go Loading commit data...
visitor.go Loading commit data...