e64a05984e
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.
43 lines
839 B
YAML
43 lines
839 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: rancher-http-redirect
|
|
namespace: cattle-system
|
|
spec:
|
|
hostnames:
|
|
- rancher.k8s.syd1.au.unkin.net
|
|
parentRefs:
|
|
- name: rancher
|
|
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: rancher
|
|
namespace: cattle-system
|
|
spec:
|
|
hostnames:
|
|
- rancher.k8s.syd1.au.unkin.net
|
|
parentRefs:
|
|
- name: rancher
|
|
sectionName: https
|
|
rules:
|
|
- backendRefs:
|
|
- name: rancher
|
|
port: 80
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|