445d8b6e7e
Add port 80 HTTP listener and redirect HTTPRoute to artifactapi, cattle-system (rancher), litellm, paperclip, and puppetboard — restoring the redirect behaviour that existed on the previous nginx/traefik Ingress resources. Reviewed-on: #145
43 lines
847 B
YAML
43 lines
847 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: paperclip-http-redirect
|
|
namespace: paperclip
|
|
spec:
|
|
hostnames:
|
|
- paperclip.k8s.syd1.au.unkin.net
|
|
parentRefs:
|
|
- name: paperclip
|
|
sectionName: http
|
|
rules:
|
|
- filters:
|
|
- type: RequestRedirect
|
|
requestRedirect:
|
|
scheme: https
|
|
statusCode: 301
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: paperclip
|
|
namespace: paperclip
|
|
spec:
|
|
hostnames:
|
|
- paperclip.k8s.syd1.au.unkin.net
|
|
parentRefs:
|
|
- name: paperclip
|
|
sectionName: https
|
|
rules:
|
|
- backendRefs:
|
|
- name: paperclip
|
|
port: 3100
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|