mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md. Add --server-dry-run flag to `kubectl apply` - Adds the flag - changes the helper so that we can pass options for patch, - Adds a test to make sure it doesn't change the object **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note Add new `--server-dry-run` flag to `kubectl apply` so that the request will be sent to the server with the dry-run flag (alpha), which means that changes won't be persisted. ``` |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
apply.sh | ||
apps.sh | ||
authorization.sh | ||
batch.sh | ||
certificate.sh | ||
core.sh | ||
crd.sh | ||
create.sh | ||
diff.sh | ||
discovery.sh | ||
generic-resources.sh | ||
get.sh | ||
initializers.sh | ||
kubeconfig.sh | ||
legacy-script.sh | ||
node-management.sh | ||
old-print.sh | ||
plugins.sh | ||
proxy.sh | ||
rbac.sh | ||
request-timeout.sh | ||
run.sh | ||
save-config.sh | ||
storage.sh | ||
template-output.sh | ||
version.sh |