From b3264a140ab396c0567be7aba8aa6889e663b219 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Mon, 11 Dec 2023 09:24:31 -0600 Subject: [PATCH] updatre --- durpapi/templates/ingress.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/durpapi/templates/ingress.yaml b/durpapi/templates/ingress.yaml index 5e8839f..6ce3f6f 100644 --- a/durpapi/templates/ingress.yaml +++ b/durpapi/templates/ingress.yaml @@ -8,6 +8,8 @@ spec: routes: - match: Host("test.durp.info") && PathPrefix(`/`) kind: Rule + middlewares: + - name: jwt services: - name: "durpapi-service" port: 80 @@ -28,3 +30,15 @@ spec: commonName: "test.durp.info" dnsNames: - "test.durp.info" + +--- + +apiVersion: traefik.containo.us/v1alpha1 +kind: Middleware +metadata: + name: jwt +spec: + plugin: + jwt: + issuers: + - https://authentik.durp.info/application/o/api/