From f67d66dd187c080ce223695110b3c46f66c1657e Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Tue, 2 Apr 2024 20:50:59 -0500 Subject: [PATCH] update --- durpapi/templates/ingress.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/durpapi/templates/ingress.yaml b/durpapi/templates/ingress.yaml index c47fe25..b088dff 100644 --- a/durpapi/templates/ingress.yaml +++ b/durpapi/templates/ingress.yaml @@ -18,6 +18,24 @@ spec: --- +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: "{{ .Chart.Name }}-ingress" +spec: + entryPoints: + - websecure + routes: + - match: Host("test.durp.info") && PathPrefix(`/swagger`) + kind: Rule + services: + - name: "durpapi-service" + port: 80 + tls: + secretName: durpapi-tls + +--- + apiVersion: cert-manager.io/v1 kind: Certificate metadata: @@ -42,4 +60,4 @@ spec: jwt: Required: true Keys: - - https://authentik.durp.info/application/o/api/jwks \ No newline at end of file + - https://authentik.durp.info/application/o/api/jwks