34 lines
No EOL
610 B
YAML
34 lines
No EOL
610 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: nocodb-http
|
|
spec:
|
|
parentRefs:
|
|
- name: contour
|
|
sectionName: http
|
|
namespace: projectcontour
|
|
hostnames:
|
|
- noco.icb4dc0.de
|
|
rules:
|
|
- filters:
|
|
- type: RequestRedirect
|
|
requestRedirect:
|
|
scheme: https
|
|
statusCode: 301
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: nocodb-https
|
|
spec:
|
|
parentRefs:
|
|
- name: contour
|
|
sectionName: https
|
|
namespace: projectcontour
|
|
hostnames:
|
|
- noco.icb4dc0.de
|
|
rules:
|
|
- backendRefs:
|
|
- name: nocodb
|
|
port: 8080 |