|
|
@@ -220,7 +220,7 @@ public class DeployHandler extends AbstractHandler{
|
|
|
//4. 创建ingress
|
|
|
//4.1. ingress路径规则
|
|
|
Ingress.IngressRule ingressRule = new Ingress.IngressRule();
|
|
|
- ingressRule.setHost( deployName+"."+namespace + applicationProperties.getK8s().getIngressHostSuffix());
|
|
|
+ ingressRule.setHost( deployName+"-"+namespace + applicationProperties.getK8s().getIngressHostSuffix());
|
|
|
Ingress.IngressPath path = new Ingress.IngressPath();
|
|
|
path.setPath("/");
|
|
|
path.setPort(port);
|