refactor: 项目结构调整
This commit is contained in:
20
k8s/ingress.yaml
Normal file
20
k8s/ingress.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: test
|
||||||
|
namespace: youlai-bootnfckx
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx # 关联的ingress-nginx控制器
|
||||||
|
rules:
|
||||||
|
- host: boot.youlai.tech
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: youlai-boot
|
||||||
|
port:
|
||||||
|
number: 8989
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.youlai.system.common.annotation;
|
package com.youlai.system.framework.mybatisplus;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
Reference in New Issue
Block a user