special ingress
This commit is contained in:
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 }}
|
||||
Reference in new issue
Block a user