From fd4891f87699ba6a3f93fe0bf04e2e387af35155 Mon Sep 17 00:00:00 2001 From: Nicola Ferraro Date: Thu, 27 Feb 2020 12:32:19 +0100 Subject: [PATCH] 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 df44050d47..a12b27b93c 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 + } } }