added ingress controller
This commit is contained in:
parent
85e761d0d6
commit
b3b7834166
26
chart/templates/ingress.yaml
Normal file
26
chart/templates/ingress.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: fusero-app-ingress
|
||||
namespace: fusero-prod
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
spec:
|
||||
rules:
|
||||
- host: app.fusero.nl
|
||||
http:
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: fusero-backend-service
|
||||
port:
|
||||
number: 14000
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: fusero-frontend-service
|
||||
port:
|
||||
number: 80
|
Loading…
Reference in New Issue
Block a user