Skip to content

Commit

Permalink
[Breaking Change] Allow configuring usage record whatsapp event name
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Jul 20, 2023
1 parent 885ee8a commit 08846dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion authgear/templates/usage-record-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
authgear-portal usage collect-count active-user this-month
authgear-portal usage collect-count sms-sent yesterday
authgear-portal usage collect-count email-sent yesterday
authgear-portal usage collect-count whatsapp-otp-verified yesterday
authgear-portal usage collect-count {{ .Values.authgear.usageRecord.whatsapp.event }} yesterday
---
apiVersion: batch/v1
kind: CronJob
Expand Down
3 changes: 3 additions & 0 deletions authgear/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ authgear:
schedule: "0 3 * * *"

usageRecord:
whatsapp:
# whatsapp-sent or whatsapp-otp-verified
event: "whatsapp-sent"
cronjob:
enabled: false
schedule: "0 2 * * *"
Expand Down

0 comments on commit 08846dc

Please sign in to comment.