use gateway instead of ingress

This commit is contained in:
2025-03-02 01:05:44 -06:00
parent 9f4cf29521
commit 0cd7a610f9
3 changed files with 80 additions and 32 deletions

View File

@@ -0,0 +1,24 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-headlamp-route
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: https-headlamp-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: headlamp-gateway
hostnames:
- headlamp.alexlebens.net
rules:
- matches:
- path:
type: ImplementationSpecific
value: /
backendRefs:
- name: headlamp
port: 80