apps/umami/resources/http_route.yaml

34 lines
617 B
YAML
Raw Normal View History

2024-04-29 14:52:48 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: umami-http
spec:
parentRefs:
- name: contour
sectionName: http
namespace: projectcontour
hostnames:
- analytics.icb4dc0.de
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: umami-https
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- analytics.icb4dc0.de
rules:
- backendRefs:
- name: umami
port: 3000