diff --git a/clusters/cl01tl/applications/site-profile/templates/http-route.yaml b/clusters/cl01tl/applications/site-profile/templates/http-route.yaml new file mode 100644 index 000000000..c86ef7578 --- /dev/null +++ b/clusters/cl01tl/applications/site-profile/templates/http-route.yaml @@ -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