Skip to content

Commit

Permalink
Fix apache#1305: use spectrum by default on minikube
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Feb 27, 2020
1 parent 873ed9d commit 59f761f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/install/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ func PlatformOrCollect(ctx context.Context, c client.Client, clusterType string,

pl.Spec.Build.Registry.Address = *address
pl.Spec.Build.Registry.Insecure = true
if pl.Spec.Build.PublishStrategy == "" {
// Use spectrum in insecure dev clusters by default
pl.Spec.Build.PublishStrategy = v1.IntegrationPlatformBuildPublishStrategySpectrum
}
}
}

Expand Down

0 comments on commit 59f761f

Please sign in to comment.