mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2025-12-06 07:06:24 +00:00
refactor: ingress namespace
This commit is contained in:
parent
dc5d31442b
commit
de9b6c7142
@ -377,13 +377,14 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: smarketing-ingress
|
||||
namespace: ${namespace}
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
# nginx.ingress.kubernetes.io/rewrite-target: /$2 # 이 줄 제거
|
||||
# nginx.ingress.kubernetes.io/use-regex: "true" # 이 줄 제거
|
||||
spec:
|
||||
rules:
|
||||
- host: smarketing.20.249.184.228.nip.io
|
||||
- host: ${ingress_host}
|
||||
http:
|
||||
paths:
|
||||
- path: /api/auth
|
||||
|
||||
@ -8,6 +8,7 @@ registry=acrdigitalgarage02.azurecr.io
|
||||
image_org=smarketing
|
||||
|
||||
# Application Settings
|
||||
ingress_host=smarketing.20.249.184.228.nip.io
|
||||
replicas=1
|
||||
allowed_origins=http://20.249.154.194
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user