Commit f310c1d6 authored by 黎博's avatar 黎博

修改域名后缀

parent 8db756dd
......@@ -690,7 +690,7 @@ public class TkeService {
try {
String ingressYaml = FileUtils.readFileFromClassPathResource("tke/template/Ingress.yml");
ingressYaml = TkeUtils.replaceBusinessYaml(ingressYaml, serviceCreateVo, null);
log.info("\n开始创建Ingress:\n{}", ingressYaml);
log.info("开始创建Ingress:\n{}", ingressYaml);
Yaml yaml = new Yaml(new Constructor(Ingress.class));
Ingress ingress = yaml.load(ingressYaml);
IntOrString servicePort = new IntOrStringBuilder().withIntVal(80).build();
......
......@@ -7,7 +7,7 @@ metadata:
namespace: {{namespace}}
spec:
rules:
- host: {{domain}}-{{namespace}}.xrtan.com
- host: {{domain}}-{{namespace}}.liangkebang.net
http:
paths:
- backend:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment