diff --git a/terraform/gcp/k8s/environments/dev.yaml b/terraform/gcp/k8s/environments/dev.yaml index 8af674684..a55ac9b28 100644 --- a/terraform/gcp/k8s/environments/dev.yaml +++ b/terraform/gcp/k8s/environments/dev.yaml @@ -3,6 +3,7 @@ gcpRegion: us-central1 adminUrl: juniper-cmi.dev deploymentZone: dev replicas: 1 +dsmUrl: https://dsm-dev.datadonationplatform.org/dsm # "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 fa87d2897..b234ff4ed 100644 --- a/terraform/gcp/k8s/environments/prod.yaml +++ b/terraform/gcp/k8s/environments/prod.yaml @@ -3,6 +3,7 @@ gcpRegion: us-central1 adminUrl: juniper-cmi.org deploymentZone: prod replicas: 3 +dsmUrl: https://dsm.datadonationplatform.org/dsm # "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 a8c78b131..64728e3ef 100644 --- a/terraform/gcp/k8s/templates/admin-deployment.yml +++ b/terraform/gcp/k8s/templates/admin-deployment.yml @@ -134,7 +134,7 @@ spec: - name: DSM_JWT_SIGNING_SECRET_SECRET_ID value: dsm-secret - name: DSM_ADDRESS - value: https://dsm-dev.datadonationplatform.org/dsm + value: {{ .Values.dsmUrl }} - name: TDR_SA_CREDS_SECRET_ID value: tdr-sa-creds - name: TDR_EXPORT_STORAGE_ACCOUNT_KEY_SECRET_ID diff --git a/terraform/gcp/k8s/templates/participant-deployment.yml b/terraform/gcp/k8s/templates/participant-deployment.yml index f2fd972a8..b10d56be8 100644 --- a/terraform/gcp/k8s/templates/participant-deployment.yml +++ b/terraform/gcp/k8s/templates/participant-deployment.yml @@ -132,7 +132,7 @@ spec: - name: DSM_JWT_SIGNING_SECRET_SECRET_ID value: dsm-secret - name: DSM_ADDRESS - value: https://dsm-dev.datadonationplatform.org/dsm + value: {{ .Values.dsmUrl }} - name: TDR_SA_CREDS_SECRET_ID value: tdr-sa-creds - name: TDR_EXPORT_STORAGE_ACCOUNT_KEY_SECRET_ID diff --git a/terraform/gcp/k8s/values.yaml b/terraform/gcp/k8s/values.yaml index 41df3b417..93c5e784e 100644 --- a/terraform/gcp/k8s/values.yaml +++ b/terraform/gcp/k8s/values.yaml @@ -18,3 +18,4 @@ b2c: clientId: "" changePasswordPolicyName: "" enableMaintenanceMode: false +dsmUrl: https://dsm-dev.datadonationplatform.org/dsm