From 0bc3bc4fbb1a9981423253d55c3949c4650206d5 Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Wed, 21 Aug 2024 15:38:49 +0530 Subject: [PATCH] upgrade operator installation if already exists Signed-off-by: MUzairS15 --- models/controllers/helpers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/controllers/helpers.go b/models/controllers/helpers.go index a1454ce3..7add4f51 100644 --- a/models/controllers/helpers.go +++ b/models/controllers/helpers.go @@ -81,6 +81,8 @@ func applyOperatorHelmChart(chartRepo string, client mesherykube.Client, meshery Action: act, // Setting override values OverrideValues: overrides, + + UpgradeIfInstalled: true, }) if err != nil { return err