Updates local address format
This commit is contained in:
parent
3e49ce6ae9
commit
9d464708b5
|
@ -175,8 +175,9 @@ namespace KubernetesWorkflow
|
||||||
var namespaceName = startResult.Cluster.Configuration.KubernetesNamespace;
|
var namespaceName = startResult.Cluster.Configuration.KubernetesNamespace;
|
||||||
var serviceName = startResult.InternalService!.Name;
|
var serviceName = startResult.InternalService!.Name;
|
||||||
var port = startResult.GetInternalServicePorts(recipe, tag);
|
var port = startResult.GetInternalServicePorts(recipe, tag);
|
||||||
|
|
||||||
return new Address(
|
return new Address(
|
||||||
$"http://{namespaceName}/{serviceName}",
|
$"http://{serviceName}.{namespaceName}.svc.cluster.local",
|
||||||
port.Number);
|
port.Number);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue