From 40f03a5f4e285157109eb9a0c928c4920348a139 Mon Sep 17 00:00:00 2001
From: Rob Kooper <kooper@illinois.edu>
Date: Sun, 9 Jun 2024 10:35:29 -0500
Subject: [PATCH] only show protocols if any enabled in manila

---
 CHANGELOG.md                                        | 8 +++++++-
 terraform/modules/argocd/templates/argocd.yaml.tmpl | 2 ++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f9435d9..defb498 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,8 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
 
 ## 3.1.1 - 2024-06-08
 
-### Fixed
+### Changed
+
+- healthmonitor/longhorn are now disabled by default
+
+### Fixed 
+
 - missing secret/storageclass additional helm charts for manila
+- ability to enable/disable permissions fix for acme
 
 ## 3.1.0 - 2024-06-03
 
diff --git a/terraform/modules/argocd/templates/argocd.yaml.tmpl b/terraform/modules/argocd/templates/argocd.yaml.tmpl
index 330e930..8850d2b 100644
--- a/terraform/modules/argocd/templates/argocd.yaml.tmpl
+++ b/terraform/modules/argocd/templates/argocd.yaml.tmpl
@@ -125,6 +125,7 @@ spec:
 
         manila:
           enabled: ${manila_enabled}
+          %{~ if manila_enabled ~}
           protocols:
           %{~ if manila_nfs_enabled ~}
             - name: NFS
@@ -138,3 +139,4 @@ spec:
               fsGroupPolicy: None
               type: ${manila_cephfs_type}
           %{~ endif ~}
+          %{~ endif ~}
-- 
GitLab