Operator takes precedence.

This commit is contained in:
Michael Lipp 2023-08-11 12:12:36 +02:00
parent 59e595a1fa
commit 3966cbabe4

View file

@ -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,