2024-02-21 07:12:13 +00:00
|
|
|
---
|
|
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
|
|
kind: HTTPRoute
|
|
|
|
metadata:
|
|
|
|
name: vikunja-http
|
|
|
|
spec:
|
|
|
|
parentRefs:
|
|
|
|
- name: contour
|
|
|
|
sectionName: http
|
|
|
|
namespace: projectcontour
|
|
|
|
hostnames:
|
|
|
|
- todo.icb4dc0.de
|
|
|
|
rules:
|
|
|
|
- filters:
|
|
|
|
- type: RequestRedirect
|
|
|
|
requestRedirect:
|
|
|
|
scheme: https
|
|
|
|
statusCode: 301
|
|
|
|
---
|
|
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
|
|
kind: HTTPRoute
|
|
|
|
metadata:
|
|
|
|
name: vikunja-https
|
|
|
|
spec:
|
|
|
|
parentRefs:
|
|
|
|
- name: contour
|
2024-05-18 10:19:11 +00:00
|
|
|
sectionName: vikunja
|
2024-02-21 07:12:13 +00:00
|
|
|
namespace: projectcontour
|
|
|
|
hostnames:
|
|
|
|
- todo.icb4dc0.de
|
|
|
|
rules:
|
|
|
|
- matches:
|
|
|
|
- path:
|
|
|
|
type: PathPrefix
|
|
|
|
value: /
|
|
|
|
backendRefs:
|
|
|
|
- name: vikunja-ui
|
|
|
|
port: 8080
|
|
|
|
- matches:
|
|
|
|
- path:
|
|
|
|
type: PathPrefix
|
|
|
|
value: /api/v1
|
|
|
|
backendRefs:
|
|
|
|
- name: vikunja-api
|
|
|
|
port: 3456
|