Operator takes precedence.
This commit is contained in:
parent
59e595a1fa
commit
3966cbabe4
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ public class K8s {
|
|||
T apply(GenericKubernetesApi<T, LT> api, T existing, String update)
|
||||
throws ApiException {
|
||||
PatchOptions opts = new PatchOptions();
|
||||
opts.setForce(false);
|
||||
opts.setForce(true);
|
||||
opts.setFieldManager("kubernetes-java-kubectl-apply");
|
||||
var response = api.patch(existing.getMetadata().getNamespace(),
|
||||
existing.getMetadata().getName(), V1Patch.PATCH_FORMAT_APPLY_YAML,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue