From 9d464708b5eef9bdc39c770a363c15719329311f Mon Sep 17 00:00:00 2001 From: benbierens Date: Tue, 7 Nov 2023 13:49:28 +0100 Subject: [PATCH] Updates local address format --- Framework/KubernetesWorkflow/StartupWorkflow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Framework/KubernetesWorkflow/StartupWorkflow.cs b/Framework/KubernetesWorkflow/StartupWorkflow.cs index afbc6f5..6f613ee 100644 --- a/Framework/KubernetesWorkflow/StartupWorkflow.cs +++ b/Framework/KubernetesWorkflow/StartupWorkflow.cs @@ -175,8 +175,9 @@ namespace KubernetesWorkflow var namespaceName = startResult.Cluster.Configuration.KubernetesNamespace; var serviceName = startResult.InternalService!.Name; var port = startResult.GetInternalServicePorts(recipe, tag); + return new Address( - $"http://{namespaceName}/{serviceName}", + $"http://{serviceName}.{namespaceName}.svc.cluster.local", port.Number); }