This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit fd4891f87699ba6a3f93fe0bf04e2e387af35155 Author: Nicola Ferraro <[email protected]> AuthorDate: Thu Feb 27 12:32:19 2020 +0100 Fix #1305: use spectrum by default on minikube --- pkg/install/operator.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/install/operator.go b/pkg/install/operator.go index df44050..a12b27b 100644 --- a/pkg/install/operator.go +++ b/pkg/install/operator.go @@ -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 + } } }
