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/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 d77e553c5c..e1d8ffd614 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: @@ -432,6 +432,12 @@ galoy: fromName: "" relayHost: "" relayPort: 587 + jobs: + kickoffLinkEmailReminderDelay: 5 + linkEmailReminder: + accountLivenessThresholdMinutes: 30240 + accountAgedThresholdMinutes: 30240 + notificationCoolOffThresholdMinutes: 129600 consent: resources: {} port: 80