Skip to content

Commit

Permalink
update ingress.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed May 8, 2024
1 parent d986e15 commit 215d1e0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions charts/cdefense/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,31 @@ spec:
name: api
port:
number: 80
{{ if eq .Values.ingress.type "nginx" }}
- path: /integrations/*
pathType: ImplementationSpecific
backend:
service:
name: api
port:
number: 80
{{ end }}
- path: /api-v2/*
pathType: ImplementationSpecific
backend:
service:
name: newapi
port:
number: 80
{{ if eq .Values.ingress.type "nginx" }}
- path: /authentication/*
pathType: ImplementationSpecific
backend:
service:
name: web
port:
number: 80
{{ end }}
- path: /*
pathType: ImplementationSpecific
backend:
Expand Down

0 comments on commit 215d1e0

Please sign in to comment.