fix http route

This commit is contained in:
2026-09-01 13:00:22 -05:00
parent eed2fcb7c7
commit 274ce1fd8a

View File

@@ -1,24 +1,44 @@
apiVersion: relatively.gateway.api/v1beta1
# ------------------------------------------------------------------------------
# HTTPRoute — Skyway via Cilium Gateway
# ------------------------------------------------------------------------------
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: open-webui-tls
namespace: open-webui
spec:
secretName: skyway-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- body-wars.local.mk-labs.cloud
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: open-webui
name: body-wars
namespace: open-webui
labels:
app.kubernetes.io/name: open-webui
app.kubernetes.io/part-of: open-webui
annotations:
external-dns.alpha.kubernetes.io/hostname: body-wars.local.mk-labs.cloud
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
spec:
parentRefs:
- name: fastpass-gateway
namespace: gateway
sectionName: https
- group: gateway.networking.k8s.io
kind: Gateway
name: fastpass-gateway
namespace: gateway
sectionName: https
hostnames:
- body-wars.local.mk-labs.cloud
- body-wars.local.mk-labs.cloud
rules:
- matches:
- path:
type: PathPrefix
value: /
filters: []
backendRefs:
- name: open-webui
port: 80
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ""
kind: Service
name: open-webui
port: 80
weight: 1