Skip to content

Commit

Permalink
Shutdown after no-op of creating argo apps if embedded apps disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
greghaynes committed Oct 17, 2023
1 parent 2dfeed6 commit 94ce90e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controllers/localbuild/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ func (r *LocalbuildReconciler) ReconcileArgoApps(ctx context.Context, req ctrl.R
// Bail if embedded argo applications not enabled
if !resource.Spec.PackageConfigs.EmbeddedArgoApplications.Enabled {
log.Info("embedded argo applications disabled, not installing embedded git server")
r.shouldShutdown = true
return ctrl.Result{}, nil
}

Expand Down

0 comments on commit 94ce90e

Please sign in to comment.