From c682ee53c170dff5d7193a9f6fa49f2e9d4f6899 Mon Sep 17 00:00:00 2001
From: Rob Kooper <kooper@illinois.edu>
Date: Mon, 15 Aug 2022 23:13:55 -0500
Subject: [PATCH] push existingsecret to healthmonitor

---
 charts/apps/templates/healthmonitor.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/charts/apps/templates/healthmonitor.yaml b/charts/apps/templates/healthmonitor.yaml
index 3578e49..cc3358f 100644
--- a/charts/apps/templates/healthmonitor.yaml
+++ b/charts/apps/templates/healthmonitor.yaml
@@ -36,4 +36,7 @@ spec:
           storageClass: nfs-condo
         notifiers:
           {{- toYaml .Values.healthmonitor.notifiers | nindent 10 }}  
+        {{- if .Values.healthmonitor.existingSecret }}
+        existingSecret: {{ .Values.healthmonitor.existingSecret }}
+        {{- end }}
 {{- end }}
-- 
GitLab