From d8ebce9c0e5755c89b6ee3b33f6ebae1033669ba Mon Sep 17 00:00:00 2001 From: CI Bot Date: Fri, 22 Mar 2024 13:10:48 +0000 Subject: [PATCH 1/2] chore(deps): bump 'notifications' image to 'sha256:45c50242325e3b3e84f16d3f4911f69e7f1530ced06ba0b2c1a4794123bcc97f' --- charts/galoy/apollo-router/notifications-schema.graphql | 1 + charts/galoy/values.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/galoy/apollo-router/notifications-schema.graphql b/charts/galoy/apollo-router/notifications-schema.graphql index c76c76ea9d..8bfebec82d 100644 --- a/charts/galoy/apollo-router/notifications-schema.graphql +++ b/charts/galoy/apollo-router/notifications-schema.graphql @@ -37,6 +37,7 @@ enum UserNotificationCategory { ADMIN_NOTIFICATION MARKETING PRICE + SECURITY } enum UserNotificationChannel { diff --git a/charts/galoy/values.yaml b/charts/galoy/values.yaml index d77e553c5c..665e8d7279 100644 --- a/charts/galoy/values.yaml +++ b/charts/galoy/values.yaml @@ -75,7 +75,7 @@ galoy: repository: us.gcr.io/galoy-org/galoy-notifications ## Digest of the image ## - digest: "sha256:21fb3caae150b425142439d6f0c0b8d7c84d63377649c2831cfad3519e4b976b" # METADATA:: repository=https://github.com/GaloyMoney/galoy;commit_ref=8e5f140;app=notifications;monorepo_subdir=core/notifications; + digest: "sha256:45c50242325e3b3e84f16d3f4911f69e7f1530ced06ba0b2c1a4794123bcc97f" # METADATA:: repository=https://github.com/GaloyMoney/galoy;commit_ref=5423df7;app=notifications;monorepo_subdir=core/notifications; ## Galoy Application MongoDB Migration Image details ## mongodbMigrate: From d071d85f645dc70492cc77b858b77ebe75d23c06 Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Fri, 22 Mar 2024 14:17:29 +0100 Subject: [PATCH 2/2] fix(galoy): add link_email_reminder config --- charts/galoy/templates/notifications-cm.yaml | 6 ++++++ charts/galoy/values.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/charts/galoy/templates/notifications-cm.yaml b/charts/galoy/templates/notifications-cm.yaml index d1383f881e..e2eaa8045c 100644 --- a/charts/galoy/templates/notifications-cm.yaml +++ b/charts/galoy/templates/notifications-cm.yaml @@ -27,3 +27,9 @@ data: from_name: {{ .Values.galoy.notifications.config.smtp.fromName }} relay: {{ .Values.galoy.notifications.config.smtp.relayHost }} port: {{ .Values.galoy.notifications.config.smtp.relayPort }} + jobs: + kickoff_link_email_remainder_delay: {{ .Values.galoy.notifications.config.jobs.kickoffLinkEmailRemainderDelay }} + link_email_reminder: + account_liveness_threshold_minutes: {{ .Values.galoy.notifications.config.linkEmailReminder.accountLivenessThresholdMinutes }} + account_aged_threshold_minutes: {{ .Values.galoy.notifications.config.linkEmailReminder.accountAgedThresholdMinutes }} + notification_cool_off_threshold_minutes: {{ .Values.galoy.notifications.config.linkEmailReminder.notificationCoolOffThresholdMinutes }} diff --git a/charts/galoy/values.yaml b/charts/galoy/values.yaml index 665e8d7279..e1d8ffd614 100644 --- a/charts/galoy/values.yaml +++ b/charts/galoy/values.yaml @@ -432,6 +432,12 @@ galoy: fromName: "" relayHost: "" relayPort: 587 + jobs: + kickoffLinkEmailReminderDelay: 5 + linkEmailReminder: + accountLivenessThresholdMinutes: 30240 + accountAgedThresholdMinutes: 30240 + notificationCoolOffThresholdMinutes: 129600 consent: resources: {} port: 80