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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user