Update deploy.yaml.template

This commit is contained in:
John Hanzu Kim 2025-06-18 10:12:14 +09:00 committed by GitHub
parent 0663018fe3
commit 937bf52051
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -469,35 +469,38 @@ metadata:
namespace: ${namespace}
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: smarketing.20.249.184.228.nip.io
http:
paths:
- path: /api/auth
pathType: Prefix
- path: /api/auth(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: member
port:
number: 80
- path: /api/store
pathType: Prefix
- path: /api/store(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: store
port:
number: 80
- path: /api/content
pathType: Prefix
- path: /api/content(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: marketing-content
port:
number: 80
- path: /api/recommend
pathType: Prefix
- path: /api/recommend(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: ai-recommend