mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2026-01-21 11:06:23 +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
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: smarketing-ingress
|
name: smarketing-ingress
|
||||||
|
namespace: ${namespace}
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: nginx
|
||||||
# nginx.ingress.kubernetes.io/rewrite-target: /$2 # 이 줄 제거
|
# nginx.ingress.kubernetes.io/rewrite-target: /$2 # 이 줄 제거
|
||||||
# nginx.ingress.kubernetes.io/use-regex: "true" # 이 줄 제거
|
# nginx.ingress.kubernetes.io/use-regex: "true" # 이 줄 제거
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: smarketing.20.249.184.228.nip.io
|
- host: ${ingress_host}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /api/auth
|
- path: /api/auth
|
||||||
|
|||||||
@ -8,6 +8,7 @@ registry=acrdigitalgarage02.azurecr.io
|
|||||||
image_org=smarketing
|
image_org=smarketing
|
||||||
|
|
||||||
# Application Settings
|
# Application Settings
|
||||||
|
ingress_host=smarketing.20.249.184.228.nip.io
|
||||||
replicas=1
|
replicas=1
|
||||||
allowed_origins=http://20.249.154.194
|
allowed_origins=http://20.249.154.194
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user