Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 19835bc

Browse files
docs: add description for using webhook in subscriptions (#355)
Signed-off-by: Ryota Sakamoto <sakamo.ryota+github@gmail.com>
1 parent 7ca1a1d commit 19835bc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/subscriptions.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,20 @@ data:
5252
triggers:
5353
- on-sync-status-unknown
5454
```
55+
56+
If you want to use webhook in subscriptions, you need to store the custom name to recipients.
57+
58+
```yaml
59+
apiVersion: v1
60+
kind: ConfigMap
61+
metadata:
62+
name: argocd-notifications-cm
63+
data:
64+
service.webhook.<webhook-name>: |
65+
(snip)
66+
subscriptions: |
67+
- recipients:
68+
- <webhook-name>
69+
triggers:
70+
- on-sync-status-unknown
71+
```

0 commit comments

Comments
 (0)