Skip to content

Commit

Permalink
Add fallback value to SECRET_MANAGER_LOCATION. Update some variable d…
Browse files Browse the repository at this point in the history
…escriptions
  • Loading branch information
acolver committed Sep 26, 2023
1 parent 1d1fb57 commit fc5579d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions radlab-ui/webapp/src/pages/api/secret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
6 changes: 3 additions & 3 deletions radlab-ui/webapp/src/utils/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
}
Expand Down

0 comments on commit fc5579d

Please sign in to comment.