add http route

This commit is contained in:
2024-08-22 13:24:09 -05:00
parent cf19e3a776
commit ed14c8a1f2

View File

@@ -0,0 +1,25 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-route
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: http-route
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
parentRefs:
- name: cilium-gateway
namespace: cilium
hostnames:
- "site.alexlebens.net"
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: my-service
port: 80