apps/ente/resources/http_routes.yaml
Peter Kurfer 8f6749b3af
All checks were successful
Renovate / renovate (push) Successful in 1m0s
feat(ente): initial deployment
2024-05-13 17:07:05 +02:00

68 lines
No EOL
1.2 KiB
YAML

---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http
spec:
parentRefs:
- name: contour
sectionName: http
namespace: projectcontour
hostnames:
- ente.icb4dc0.de
- api.ente.icb4dc0.de
- albums.ente.icb4dc0.de
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-web
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- ente.icb4dc0.de
rules:
- backendRefs:
- name: ente-web
port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-api
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
hostnames:
- api.ente.icb4dc0.de
rules:
- backendRefs:
- name: ente-museum
port: 8080
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-albums
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
hostnames:
- albums.ente.icb4dc0.de
rules:
- backendRefs:
- name: ente-web
port: 3000