apps/ente/resources/http_routes.yaml
Peter Kurfer 738fe480ba
All checks were successful
Renovate / renovate (push) Successful in 24s
feat(ente): deploy cast
2024-05-19 11:50:27 +02:00

85 lines
No EOL
1.5 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
- cast.ente.icb4dc0.de
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
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-photos
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- ente.icb4dc0.de
rules:
- backendRefs:
- name: ente-photos
port: 3000
---
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-photos
port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-cast
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
hostnames:
- cast.ente.icb4dc0.de
rules:
- backendRefs:
- name: ente-cast
port: 3000