101 lines
1.9 KiB
YAML
101 lines
1.9 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: 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
|
|
---
|
|
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
|