Files
infrastructure/clusters/cl01tl/platform/authentik/templates/http-route.yaml
2024-08-21 19:08:01 -05:00

34 lines
860 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: authentik-https-app-route
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: authentik-https-app-route
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: network
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: authentik-tls-gateway
hostnames:
- auth.alexlebens.net
rules:
- matches:
- path:
type: PathPrefix
value: /
- backendRefs:
- group: ''
kind: Service
name: authentik-server
port: 80
weight: 1
matches:
- path:
type: PathPrefix
value: /