apps/zipline/resources/http_route.yaml

34 lines
615 B
YAML
Raw Normal View History

2024-02-21 07:12:13 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: zipline-http
spec:
parentRefs:
- name: contour
sectionName: http
namespace: projectcontour
hostnames:
- share.icb4dc0.de
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: zipline-https
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- share.icb4dc0.de
rules:
- backendRefs:
- name: zipline
port: 3000