replace --force --dry-run=server
will ignore the dry-run flag
#1222
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
Executed
kubectl replace -f - --force --dry-run=server
and object was indeed replacedWhat you expected to happen:
For the replace operation to have been a dry run.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Don't think so!
Environment:
kubectl version
):cat /etc/os-release
): darwin/OS X 12.3.1The text was updated successfully, but these errors were encountered: