Skip to content

Commit

Permalink
Added a check for the situation where the createRelease flag is set s…
Browse files Browse the repository at this point in the history
…o it is passed in along with the helm values
  • Loading branch information
kylewuolle committed Oct 17, 2024
1 parent bb2fb12 commit 98b4493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/release_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (r *ReleaseReconciler) reconcileHMCTemplates(ctx context.Context, releaseNa
},
}

if releaseName == "" {
if releaseName == "" || r.CreateRelease {
createReleaseValues := map[string]any{
"createRelease": true,
}
Expand Down

0 comments on commit 98b4493

Please sign in to comment.