From 98b44934723dbcb67363c0f6860c5d993e42799d Mon Sep 17 00:00:00 2001 From: Kyle Wuolle Date: Thu, 17 Oct 2024 11:48:33 -0700 Subject: [PATCH] Added a check for the situation where the createRelease flag is set so it is passed in along with the helm values --- internal/controller/release_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/release_controller.go b/internal/controller/release_controller.go index 79ac14676..8831bf6e0 100644 --- a/internal/controller/release_controller.go +++ b/internal/controller/release_controller.go @@ -252,7 +252,7 @@ func (r *ReleaseReconciler) reconcileHMCTemplates(ctx context.Context, releaseNa }, } - if releaseName == "" { + if releaseName == "" || r.CreateRelease { createReleaseValues := map[string]any{ "createRelease": true, }