diff --git a/terraform/gcp/k8s/environments/dev.yaml b/terraform/gcp/k8s/environments/dev.yaml index a55ac9b28..6b413d673 100644 --- a/terraform/gcp/k8s/environments/dev.yaml +++ b/terraform/gcp/k8s/environments/dev.yaml @@ -4,6 +4,7 @@ adminUrl: juniper-cmi.dev deploymentZone: dev replicas: 1 dsmUrl: https://dsm-dev.datadonationplatform.org/dsm +dsmIssuer: admin-d2p.ddp-dev.envs.broadinstitute.org # "portals" adds certificates for each portal - both for the juniper-cmi.dev subdomains and the custom domain portals: - name: demo diff --git a/terraform/gcp/k8s/environments/prod.yaml b/terraform/gcp/k8s/environments/prod.yaml index b234ff4ed..bbcac733a 100644 --- a/terraform/gcp/k8s/environments/prod.yaml +++ b/terraform/gcp/k8s/environments/prod.yaml @@ -4,6 +4,7 @@ adminUrl: juniper-cmi.org deploymentZone: prod replicas: 3 dsmUrl: https://dsm.datadonationplatform.org/dsm +dsmIssuer: juniper.terra.bio # "portals" adds certificates for each portal - both for the admin subdomains and the custom domain portals: - name: demo diff --git a/terraform/gcp/k8s/templates/admin-deployment.yml b/terraform/gcp/k8s/templates/admin-deployment.yml index 64728e3ef..ec09de80e 100644 --- a/terraform/gcp/k8s/templates/admin-deployment.yml +++ b/terraform/gcp/k8s/templates/admin-deployment.yml @@ -130,7 +130,7 @@ spec: - name: SENDGRID_API_KEY_SECRET_ID value: sendgrid-api-key - name: DSM_JWT_ISSUER - value: admin-d2p.ddp-dev.envs.broadinstitute.org + value: {{ .Values.dsmIssuer }} - name: DSM_JWT_SIGNING_SECRET_SECRET_ID value: dsm-secret - name: DSM_ADDRESS diff --git a/terraform/gcp/k8s/templates/participant-deployment.yml b/terraform/gcp/k8s/templates/participant-deployment.yml index b10d56be8..a0ac83a27 100644 --- a/terraform/gcp/k8s/templates/participant-deployment.yml +++ b/terraform/gcp/k8s/templates/participant-deployment.yml @@ -128,7 +128,7 @@ spec: - name: SENDGRID_API_KEY_SECRET_ID value: sendgrid-api-key - name: DSM_JWT_ISSUER - value: admin-d2p.ddp-dev.envs.broadinstitute.org + value: {{.Values.dsmIssuer}} - name: DSM_JWT_SIGNING_SECRET_SECRET_ID value: dsm-secret - name: DSM_ADDRESS diff --git a/terraform/gcp/k8s/values.yaml b/terraform/gcp/k8s/values.yaml index 93c5e784e..103ca2b51 100644 --- a/terraform/gcp/k8s/values.yaml +++ b/terraform/gcp/k8s/values.yaml @@ -19,3 +19,4 @@ b2c: changePasswordPolicyName: "" enableMaintenanceMode: false dsmUrl: https://dsm-dev.datadonationplatform.org/dsm +dsmIssuer: admin-d2p.ddp-dev.envs.broadinstitute.org