diff --git a/bundle/config/mutator/process_target_mode.go b/bundle/config/mutator/process_target_mode.go index 81330d87ea..16b81ebb59 100644 --- a/bundle/config/mutator/process_target_mode.go +++ b/bundle/config/mutator/process_target_mode.go @@ -59,19 +59,18 @@ func transformDevelopmentMode(ctx context.Context, b *bundle.Bundle) { } if !config.IsExplicitlyDisabled(t.InPlaceDeployment) { - enabled := true - t.InPlaceDeployment = &enabled - } - - if !config.IsExplicitlyDisabled(t.PipelinesDevelopment) { root := b.SyncRootPath isInWorkspace := strings.HasPrefix(root, "/Workspace/") - if isInWorkspace && dbr.RunsOnRuntime(ctx) { enabled := true - t.PipelinesDevelopment = &enabled + t.InPlaceDeployment = &enabled } } + + if !config.IsExplicitlyDisabled(t.PipelinesDevelopment) { + enabled := true + t.PipelinesDevelopment = &enabled + } } func validateDevelopmentMode(b *bundle.Bundle) diag.Diagnostics {