From 54cccc74b180bbf34ae7c8f858dada68e550b4c9 Mon Sep 17 00:00:00 2001 From: William May Date: Fri, 13 Dec 2024 11:38:44 +0000 Subject: [PATCH] FS-4833 - Adding basic auth to FAB --- .../fsd-fund-application-builder/manifest.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/copilot/fsd-fund-application-builder/manifest.yml b/copilot/fsd-fund-application-builder/manifest.yml index 65d740a..ce43df6 100644 --- a/copilot/fsd-fund-application-builder/manifest.yml +++ b/copilot/fsd-fund-application-builder/manifest.yml @@ -64,9 +64,41 @@ environments: dev: count: spot: 1 + sidecars: + nginx: + port: 8087 + image: + location: xscys/nginx-sidecar-basic-auth + variables: + FORWARD_PORT: 8080 + CLIENT_MAX_BODY_SIZE: 10m + secrets: + BASIC_AUTH_USERNAME: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME + BASIC_AUTH_PASSWORD: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD + http: + target_container: nginx + healthcheck: + path: /healthcheck + port: 8080 test: count: spot: 2 + sidecars: + nginx: + port: 8087 + image: + location: xscys/nginx-sidecar-basic-auth + variables: + FORWARD_PORT: 8080 + CLIENT_MAX_BODY_SIZE: 10m + secrets: + BASIC_AUTH_USERNAME: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME + BASIC_AUTH_PASSWORD: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD + http: + target_container: nginx + healthcheck: + path: /healthcheck + port: 8080 uat: count: range: 2-4