From fc5579d75661f349ea4419913fc83f3ba3795d06 Mon Sep 17 00:00:00 2001 From: Alan Colver Date: Tue, 26 Sep 2023 15:25:22 -0600 Subject: [PATCH] Add fallback value to SECRET_MANAGER_LOCATION. Update some variable descriptions --- radlab-ui/webapp/src/pages/api/secret.ts | 1 + radlab-ui/webapp/src/utils/data.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/radlab-ui/webapp/src/pages/api/secret.ts b/radlab-ui/webapp/src/pages/api/secret.ts index b02bd023..38677603 100644 --- a/radlab-ui/webapp/src/pages/api/secret.ts +++ b/radlab-ui/webapp/src/pages/api/secret.ts @@ -13,6 +13,7 @@ const gcpProjectId = envOrFail( const secretManagerLocation = envOrFail( "SECRET_MANAGER_LOCATION", process.env.SECRET_MANAGER_LOCATION, + "us-central1", ) export const getSecretKeyValue = async (secretId: string) => { diff --git a/radlab-ui/webapp/src/utils/data.ts b/radlab-ui/webapp/src/utils/data.ts index 2cb3fdc9..8ccb8c44 100644 --- a/radlab-ui/webapp/src/utils/data.ts +++ b/radlab-ui/webapp/src/utils/data.ts @@ -887,17 +887,17 @@ variable "folder_id" { } variable "email_notifications" { - description = "Enable/Disable Email notifications to Trusted and Owner Users / Groups for RAD Lab module updates. {{UIMeta group=4 order=1 }}" + description = "Enable email notifications to Trusted and Owner Users/Groups for RAD Lab deployment events. {{UIMeta group=4 order=1 }}" type = bool default = false } variable "mail_server_email" { - description = "Mail Server Email Id for sending email notifications. {{UIMeta group=4 order=2 }}" + description = "Gmail address for sending email notifications. {{UIMeta group=4 order=2 }}" type = string default = "" } variable "mail_server_password" { - description = "Mail Server Password to authenticate your mail server(Password will be stored in Google Secret Manager). {{UIMeta group=4 order=3 }}" + description = "Gmail password (see more at https://googlecloudplatform.github.io/rad-lab/docs/rad-lab-ui/troubleshooting). {{UIMeta group=4 order=3 }}" type = string default = "" }