fix http route
This commit is contained in:
@@ -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
|
kind: HTTPRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: open-webui
|
name: body-wars
|
||||||
namespace: open-webui
|
namespace: open-webui
|
||||||
labels:
|
annotations:
|
||||||
app.kubernetes.io/name: open-webui
|
external-dns.alpha.kubernetes.io/hostname: body-wars.local.mk-labs.cloud
|
||||||
app.kubernetes.io/part-of: open-webui
|
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: fastpass-gateway
|
- group: gateway.networking.k8s.io
|
||||||
namespace: gateway
|
kind: Gateway
|
||||||
sectionName: https
|
name: fastpass-gateway
|
||||||
|
namespace: gateway
|
||||||
|
sectionName: https
|
||||||
hostnames:
|
hostnames:
|
||||||
- body-wars.local.mk-labs.cloud
|
- body-wars.local.mk-labs.cloud
|
||||||
rules:
|
rules:
|
||||||
- matches:
|
- matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
value: /
|
value: /
|
||||||
filters: []
|
backendRefs:
|
||||||
backendRefs:
|
- group: ""
|
||||||
- name: open-webui
|
kind: Service
|
||||||
port: 80
|
name: open-webui
|
||||||
|
port: 80
|
||||||
|
weight: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user