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
|
|
|
|
hostnames:
|
|
|
|
- ente.icb4dc0.de
|
|
|
|
- api.ente.icb4dc0.de
|
|
|
|
- albums.ente.icb4dc0.de
|
2024-05-19 09:50:07 +00:00
|
|
|
- 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:
|
2024-05-19 09:50:07 +00:00
|
|
|
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
|
2024-05-13 15:06:06 +00:00
|
|
|
spec:
|
|
|
|
parentRefs:
|
|
|
|
- name: contour
|
|
|
|
sectionName: https
|
|
|
|
namespace: projectcontour
|
|
|
|
hostnames:
|
|
|
|
- ente.icb4dc0.de
|
|
|
|
rules:
|
|
|
|
- backendRefs:
|
2024-05-19 09:50:07 +00:00
|
|
|
- name: ente-photos
|
2024-05-13 15:06:06 +00:00
|
|
|
port: 3000
|
|
|
|
---
|
|
|
|
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
|
|
|
|
hostnames:
|
2024-05-19 09:50:07 +00:00
|
|
|
- albums.ente.icb4dc0.de
|
2024-05-13 15:06:06 +00:00
|
|
|
rules:
|
|
|
|
- backendRefs:
|
2024-05-19 09:50:07 +00:00
|
|
|
- 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
|
|
|
|
hostnames:
|
2024-05-19 09:50:07 +00:00
|
|
|
- cast.ente.icb4dc0.de
|
2024-05-13 15:06:06 +00:00
|
|
|
rules:
|
|
|
|
- backendRefs:
|
2024-05-19 09:50:07 +00:00
|
|
|
- name: ente-cast
|
2024-05-13 15:06:06 +00:00
|
|
|
port: 3000
|