From f81893afee400876f00f5bb206ae67745ec37df9 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 10 May 2025 09:41:50 -0500 Subject: [PATCH] update --- dmz/authentik/templates/cert.yaml | 20 ++++++++++++++++++-- infra/authentik/templates/ingress.yaml | 14 ++++++-------- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/dmz/authentik/templates/cert.yaml b/dmz/authentik/templates/cert.yaml index e039c6b..da2c8f6 100644 --- a/dmz/authentik/templates/cert.yaml +++ b/dmz/authentik/templates/cert.yaml @@ -1,3 +1,19 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: auth-ingress +spec: + entryPoints: + - websecure + routes: + - match: Host(`auth.durp.info`) && PathPrefix(`/`) + kind: Rule + services: + - name: ak-outpost-dmz-embedded-outpost + port: 9000 + tls: + secretName: authentik-outpost-tls + --- apiVersion: cert-manager.io/v1 kind: Certificate @@ -8,6 +24,6 @@ spec: name: vault-issuer kind: ClusterIssuer secretName: authentik-outpost-tls - commonName: "*" + commonName: "auth.durp.info" dnsNames: - - "*" + - "auth.durp.info" diff --git a/infra/authentik/templates/ingress.yaml b/infra/authentik/templates/ingress.yaml index f946fb3..55c35a2 100644 --- a/infra/authentik/templates/ingress.yaml +++ b/infra/authentik/templates/ingress.yaml @@ -6,16 +6,15 @@ spec: entryPoints: - websecure routes: - - match: Host(`authentik.durp.info`) && PathPrefix(`/`) - kind: Rule - services: - - name: authentik-server - port: 80 + - match: Host(`authentik.durp.info`) && PathPrefix(`/`) + kind: Rule + services: + - name: authentik-server + port: 80 tls: secretName: authentik-tls --- - apiVersion: cert-manager.io/v1 kind: Certificate metadata: @@ -27,5 +26,4 @@ spec: kind: ClusterIssuer commonName: "authentik.durp.info" dnsNames: - - "authentik.durp.info" - + - "authentik.durp.info"