Closed as not planned
Description
What happened:
I got confused using ApplierOptions.Force
which did not result in running kubectl with --force
What you expected to happen:
I expected that ApplierOptions.Force
results in running kubectl with --force
but actually it results in --force-conflicts
.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
It happens during the population of ApplyOptions
here.
Another thing to note is that --prune
does not work with --force
(but with --force-conflicts
). Hence, if changing the behaviour I believe we should consider setting force to false by default? It also does not feel right to use force by default but I think that happens atm (it is just lucky the it gets mapped incorrectly)