From b77da610e7870a2e7b3f44f093d7417badfdc1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20R=C3=B8stvik?= Date: Thu, 1 Dec 2022 00:43:06 +0100 Subject: [PATCH] Ingres --- apps/templates/authentik.yaml | 40 ++++++----------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) diff --git a/apps/templates/authentik.yaml b/apps/templates/authentik.yaml index def6995..d69b1c7 100644 --- a/apps/templates/authentik.yaml +++ b/apps/templates/authentik.yaml @@ -23,12 +23,14 @@ spec: error_reporting: enabled: true - service: + ingress: enabled: true - type: ClusterIP - port: 9443 - name: https - protocol: TCP + ingressClassName: traefik + hosts: + - host: authentik.roxedus.com + paths: + - path: "/" + pathType: Prefix envValueFrom: AUTHENTIK_POSTGRESQL__PASSWORD: @@ -69,31 +71,3 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true ---- -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: authentik-traefik - namespace: authentik -spec: - entryPoints: - - websecure - routes: - - kind: Rule - match: Host("authentik.roxedus.com") - services: - - name: authentik - port: 9443 - scheme: https - serversTransport: selfsigned - tls: - certResolver: cloudflare ---- -apiVersion: traefik.containo.us/v1alpha1 -kind: ServersTransport -metadata: - name: selfsigned - namespace: authentik - -spec: - insecureSkipVerify: true