mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Make kubectl edit not convert GV on edits Previously, kubectl edit was using a decoder to load in edits that converted to the internal version. It would then re-encode this decoded value to produce a patch. However, if you were editing in the object in a GroupVersion that was not the internal version, this would cause the kubectl edit command to attempt to produce a patch which changed the GroupVersion, which would fail. Now, we use a plain deserializer instead, so no conversion or defaulting occurs when loading in the edited file. Ref #23378 |
||
---|---|---|
.. | ||
cmd | ||
resource | ||
testing | ||
OWNERS | ||
apply.go | ||
autoscale.go | ||
bash_comp_utils.go | ||
configmap.go | ||
configmap_test.go | ||
custom_column_printer.go | ||
custom_column_printer_test.go | ||
describe.go | ||
describe_test.go | ||
doc.go | ||
explain.go | ||
generate.go | ||
generate_test.go | ||
history.go | ||
interfaces.go | ||
kubectl.go | ||
kubectl_test.go | ||
namespace.go | ||
namespace_test.go | ||
proxy_server.go | ||
proxy_server_test.go | ||
resource_printer.go | ||
resource_printer_test.go | ||
rollback.go | ||
rolling_updater.go | ||
rolling_updater_test.go | ||
run.go | ||
run_test.go | ||
scale.go | ||
scale_test.go | ||
secret.go | ||
secret_for_docker_registry.go | ||
secret_for_docker_registry_test.go | ||
secret_test.go | ||
service.go | ||
service_test.go | ||
serviceaccount.go | ||
serviceaccount_test.go | ||
sorted_event_list.go | ||
sorted_event_list_test.go | ||
sorted_resource_name_list.go | ||
sorting_printer.go | ||
sorting_printer_test.go | ||
stop.go | ||
stop_test.go | ||
version.go | ||
watchloop.go |