Commit f310c1d6 authored by 黎博's avatar 黎博

修改域名后缀

parent 8db756dd
...@@ -690,7 +690,7 @@ public class TkeService { ...@@ -690,7 +690,7 @@ public class TkeService {
try { try {
String ingressYaml = FileUtils.readFileFromClassPathResource("tke/template/Ingress.yml"); String ingressYaml = FileUtils.readFileFromClassPathResource("tke/template/Ingress.yml");
ingressYaml = TkeUtils.replaceBusinessYaml(ingressYaml, serviceCreateVo, null); 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)); Yaml yaml = new Yaml(new Constructor(Ingress.class));
Ingress ingress = yaml.load(ingressYaml); Ingress ingress = yaml.load(ingressYaml);
IntOrString servicePort = new IntOrStringBuilder().withIntVal(80).build(); IntOrString servicePort = new IntOrStringBuilder().withIntVal(80).build();
......
...@@ -7,7 +7,7 @@ metadata: ...@@ -7,7 +7,7 @@ metadata:
namespace: {{namespace}} namespace: {{namespace}}
spec: spec:
rules: rules:
- host: {{domain}}-{{namespace}}.xrtan.com - host: {{domain}}-{{namespace}}.liangkebang.net
http: http:
paths: paths:
- backend: - 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