apps/vikunja/resources/http_routes.yaml

45 lines
816 B
YAML
Raw Normal View History

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
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