From e20cd46789528ddca144758bf702dff1b2295d91 Mon Sep 17 00:00:00 2001
From: Daniel Chen <daniel.chen@us.isobar.com>
Date: Fri, 28 Mar 2025 15:37:04 +0000
Subject: [PATCH] Resolve "Resolve errors from enabling drift detection for
 Mattermost (not operator)"

---
 chart/templates/mattermost/helmrelease.yaml | 4 ++++
 chart/values.yaml                           | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/chart/templates/mattermost/helmrelease.yaml b/chart/templates/mattermost/helmrelease.yaml
index 8d5cbaf822..0c2bf810d0 100644
--- a/chart/templates/mattermost/helmrelease.yaml
+++ b/chart/templates/mattermost/helmrelease.yaml
@@ -16,6 +16,10 @@ spec:
   targetNamespace: mattermost
   driftDetection:
     mode: disabled
+    ignore:
+     - paths: ["/spec/size"]
+       target:
+         kind: Mattermost
   chart:
     spec:
       {{- if eq .Values.addons.mattermost.sourceType "git" }}
diff --git a/chart/values.yaml b/chart/values.yaml
index 84a2689e1e..5fa5070530 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -1780,11 +1780,11 @@ addons:
     git:
       repo: https://repo1.dso.mil/big-bang/product/packages/mattermost.git
       path: "./chart"
-      tag: "10.5.1-bb.3"
+      tag: "10.6.1-bb.2"
     helmRepo:
       repoName: "registry1"
       chartName: "mattermost"
-      tag: "10.5.1-bb.3"
+      tag: "10.6.1-bb.2"
 
     # -- Flux reconciliation overrides specifically for the Mattermost Package
     flux: {}
-- 
GitLab