From 63be4ed9b70a5ce34b01ccc3f8003cc80e9b732d Mon Sep 17 00:00:00 2001 From: alexlebens Date: Wed, 21 Aug 2024 18:10:15 -0500 Subject: [PATCH] add test ingress --- .../platform/authentik/templates/ingress.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/clusters/cl01tl/platform/authentik/templates/ingress.yaml b/clusters/cl01tl/platform/authentik/templates/ingress.yaml index dcba4a20f..05a248403 100644 --- a/clusters/cl01tl/platform/authentik/templates/ingress.yaml +++ b/clusters/cl01tl/platform/authentik/templates/ingress.yaml @@ -26,3 +26,31 @@ spec: name: authentik-server port: name: http + +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: authentik-cl01tl-authentik-test + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: authentik-cl01tl-authentik-test + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/version: {{ .Chart.AppVersion }} + app.kubernetes.io/component: cilium + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + ingressClassName: cilium + tls: + - hosts: + - auth.alexlebens.net + rules: + - http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: authentik-server + port: + name: http