docs: show server side apply overwrite for CLI
Docs currently say how to do it with HTTP request. This addition will help `kubectl` users as well.
This commit is contained in:
@@ -125,7 +125,8 @@ this occurs, the applier has 3 options to resolve the conflicts:
|
|||||||
|
|
||||||
* **Overwrite value, become sole manager:** If overwriting the value was
|
* **Overwrite value, become sole manager:** If overwriting the value was
|
||||||
intentional (or if the applier is an automated process like a controller) the
|
intentional (or if the applier is an automated process like a controller) the
|
||||||
applier should set the `force` query parameter to true and make the request
|
applier should add `--force-conflicts` to `kubectl apply` or set
|
||||||
|
the `force` query parameter to true and make the request
|
||||||
again. This forces the operation to succeed, changes the value of the field,
|
again. This forces the operation to succeed, changes the value of the field,
|
||||||
and removes the field from all other managers' entries in managedFields.
|
and removes the field from all other managers' entries in managedFields.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user