From 6ba7155227730a9d1c188ea607ea444196dc7b83 Mon Sep 17 00:00:00 2001 From: Nathan Moore Date: Thu, 8 Feb 2024 14:36:23 -0500 Subject: [PATCH] feat (socure): Adding a reverse proxy route for socure (#176) * Adding a reverse proxy route for socure * Fixing link to cover the subdomain --- egress/kong-config.yaml | 8 ++++++++ ingress/kong-config.yaml | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/egress/kong-config.yaml b/egress/kong-config.yaml index c169c2b..2122be7 100644 --- a/egress/kong-config.yaml +++ b/egress/kong-config.yaml @@ -9,5 +9,13 @@ services: - /wombat protocols: - http + - name: socure + url: https://verify-v2.general.socure.com/ + routes: + - name: socure-route + paths: + - /badger + protocols: + - http plugins: - name: prometheus diff --git a/ingress/kong-config.yaml b/ingress/kong-config.yaml index 3243e53..1bb5889 100644 --- a/ingress/kong-config.yaml +++ b/ingress/kong-config.yaml @@ -44,6 +44,17 @@ services: - idva-${ENVIRONMENT_NAME}.app.cloud.gov protocols: - http + - name: socure + url: https://idva-kong-egress-${ENVIRONMENT_NAME}.apps.internal:61443 + routes: + - name: socure-route + paths: + - /badger + strip_path: false + hosts: + - idva-${ENVIRONMENT_NAME}.app.cloud.gov + protocols: + - http - name: incode url: https://idva-incode-${ENVIRONMENT_NAME}.apps.internal:61443 routes: