2023-06-13 15:44:55 +02:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
2023-06-15 11:21:56 +02:00
|
|
|
name: MYAPPLICATION
|
2023-06-13 15:44:55 +02:00
|
|
|
annotations:
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "138m"
|
|
|
|
nginx.ingress.kubernetes.io/enable-cors: "true" #cf 01
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For" #cf 01
|
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
rules:
|
2023-06-15 11:21:56 +02:00
|
|
|
- host: MYAPPLICATION.dev.local
|
2023-06-13 15:44:55 +02:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
2023-06-15 11:21:56 +02:00
|
|
|
name: MYAPPLICATION
|
2023-06-13 15:44:55 +02:00
|
|
|
port:
|
|
|
|
number: 8080
|