special ingress

This commit is contained in:
Ari Sosnovsky committed 2024-07-17 17:41:21 -04:00
1 parent a035291fd2
commit 811763ce6a
1 file changed
+30
@@ -0,0 +1,30 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: authentik.core.home.{{ .Values.global.domain }}
spec:
routes:
- kind: Rule
match: "Host(`authentik.core.home.{{ .Values.global.domain }}`)"
middlewares:
- name: forwardauth-authentik
namespace: "{{ .Release.Namespace }}"
priority: 10
services:
- kind: Service
name: authentik-server
namespace: chart-authentik
port: 80
- kind: Rule
match: "Host(`authentik.core.home.{{ .Values.global.domain }}`) && PathPrefix(`/outpost.goauthentik.io/`)"
priority: 15
services:
- kind: Service
name: authentik-server
namespace: chart-authentik
port: 80
tls:
secretName: tls-authentik.core.home.{{ .Values.global.domain }}
domains:
- main: authentik.core.home.{{ .Values.global.domain }}