apps/ente/resources/http_routes.yaml

102 lines
1.9 KiB
YAML
Raw Normal View History

2024-05-13 15:06:06 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http
spec:
parentRefs:
- name: contour
sectionName: http
namespace: projectcontour
2024-05-13 15:06:06 +00:00
hostnames:
- ente.icb4dc0.de
- api.ente.icb4dc0.de
- albums.ente.icb4dc0.de
- cast.ente.icb4dc0.de
2024-05-13 15:06:06 +00:00
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: s3-api
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
hostnames:
- s3.ente.icb4dc0.de
rules:
- backendRefs:
- name: ente-s3-cors-proxy
port: 80
2024-05-13 15:06:06 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
2024-05-19 09:50:07 +00:00
name: https-api
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
2024-05-19 09:50:07 +00:00
hostnames:
- api.ente.icb4dc0.de
2024-05-19 09:50:07 +00:00
rules:
- backendRefs:
- name: ente-museum
port: 8080
2024-05-19 09:50:07 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-photos
2024-05-13 15:06:06 +00:00
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
2024-05-13 15:06:06 +00:00
hostnames:
- ente.icb4dc0.de
2024-05-13 15:06:06 +00:00
rules:
- backendRefs:
- name: ente-photos
port: 3000
2024-05-13 15:06:06 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
2024-05-19 09:50:07 +00:00
name: https-albums
2024-05-13 15:06:06 +00:00
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
2024-05-13 15:06:06 +00:00
hostnames:
- albums.ente.icb4dc0.de
2024-05-13 15:06:06 +00:00
rules:
- backendRefs:
- name: ente-photos
port: 3000
2024-05-13 15:06:06 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
2024-05-19 09:50:07 +00:00
name: https-cast
2024-05-13 15:06:06 +00:00
spec:
parentRefs:
- name: contour
sectionName: ente-endpoints
namespace: projectcontour
2024-05-13 15:06:06 +00:00
hostnames:
- cast.ente.icb4dc0.de
2024-05-13 15:06:06 +00:00
rules:
- backendRefs:
- name: ente-cast
port: 3000