From 0fa2cb63db657923a248ace05f743f34f40f5cc8 Mon Sep 17 00:00:00 2001 From: Connor Barker Date: Tue, 10 Dec 2024 13:12:55 -0500 Subject: [PATCH] add dsm url --- terraform/gcp/k8s/environments/dev.yaml | 1 + terraform/gcp/k8s/environments/prod.yaml | 1 + terraform/gcp/k8s/templates/admin-deployment.yml | 2 +- terraform/gcp/k8s/templates/participant-deployment.yml | 2 +- terraform/gcp/k8s/values.yaml | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/terraform/gcp/k8s/environments/dev.yaml b/terraform/gcp/k8s/environments/dev.yaml index 8af6746847..a55ac9b28d 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 fa87d28976..b234ff4ed5 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 a8c78b1310..64728e3ef1 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 f2fd972a87..b10d56be8a 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 41df3b4175..93c5e784e9 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