apps/vikunja/resources/http_routes.yaml
Peter Kurfer 1e43d2a537
All checks were successful
Renovate / renovate (push) Successful in 44s
chore(vikunja): switch to individual listener
2024-05-18 12:19:11 +02:00

45 lines
No EOL
816 B
YAML

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