Closed pditommaso closed 10 months ago
Done!
https://github.com/seqeralabs/terraform-seqera-aws/commit/0dc60d7896ba6e2bcfe6ac2d1037cc45d6e349b8
A cluster has been created in Development account, London region with the following name seqera-terraform-aws
This cluster contains the new db secret and configmap as requested in this issue:
@pditommaso, test this.
You are supposed to test it, please. You can follow the installer readme, and skip the manual step.
Note the module version is currently pinned to this commit.
Tested! Deployment for Cron and Backend gets the secret and configMap as respected.
The Platform configuration is requiring the following environment variables with the DB and Redis connection information
TOWER_DB_URL
TOWER_DB_PASSWORD
TOWER_REDIS_URL
Currently the DB password is stored in a K8s secrets
seqera-db-password
but it's not directly accessible by the platform config.As a temporary workaround the following script has been created to create those variables as expected .
https://github.com/seqeralabs/platform-installer/blob/2514a69d5061d1d45ccef2eb3d1ecd2f4f243151/create-terraform-manual-config.sh#L22-L30
The goal of this ticket is to replace the above script with an action in the Terraform module, creating the settings
TOWER_DB_URL
,TOWER_DB_PASSWORD
andTOWER_REDIS_URL
with the expected values.