From a48896f53f88a7b50e84df0c4aec5be33c99ffd0 Mon Sep 17 00:00:00 2001 From: Serhii Leshchenko Date: Fri, 30 Apr 2021 19:59:12 +0300 Subject: [PATCH] Expose Che route on / path to avoid HostAlreadyClaimed error (#810) --- pkg/controller/che/che_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/che/che_controller.go b/pkg/controller/che/che_controller.go index 5b64a980b..0562b5477 100644 --- a/pkg/controller/che/che_controller.go +++ b/pkg/controller/che/che_controller.go @@ -719,7 +719,7 @@ func (r *ReconcileChe) Reconcile(request reconcile.Request) (reconcile.Result, e deployContext, cheFlavor, customHost, - "", + "/", exposedServiceName, 8080, deployContext.CheCluster.Spec.Server.CheServerRoute, @@ -934,7 +934,7 @@ func getDefaultCheHost(deployContext *deploy.DeployContext) (string, error) { deployContext, cheFlavor, "", - "", + "/", getServerExposingServiceName(deployContext.CheCluster), 8080, deployContext.CheCluster.Spec.Server.CheServerRoute,