From 92b728e1e3424a55db9b959aa27a1d27d58027c6 Mon Sep 17 00:00:00 2001 From: Yael Genish <62285310+yaelgen@users.noreply.github.com> Date: Tue, 30 Aug 2022 12:58:21 +0300 Subject: [PATCH] IG-20925 - app services patch disable force_aplply_all_mode (#27) --- resourcescaler.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resourcescaler.go b/resourcescaler.go index f2e4418..82dd333 100644 --- a/resourcescaler.go +++ b/resourcescaler.go @@ -286,7 +286,11 @@ func (s *AppResourceScaler) patchIguazioTenantAppServiceSets(ctx context.Context "path": "/status/state", "value": string(provisioningState), }) - + jsonPatchMapper = append(jsonPatchMapper, map[string]interface{}{ + "op": "add", + "path": "/spec/spec/tenants/0/spec/force_apply_all_mode", + "value": "disabled", + }) if err := s.waitForNoProvisioningInProcess(ctx); err != nil { return errors.Wrap(err, "Failed waiting for IguazioTenantAppServiceSet to finish provisioning") }