This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
568 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
19 changes: 0 additions & 19 deletions
19
docs/triggers_and_templates/functions.md → docs/functions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,38 @@ | ||
## Notification Services | ||
The notification services represent integration with services such as slack, email or custom webhook. Services are configured in `argocd-notifications-cm` ConfigMap | ||
using `service.<type>.(<optiona-name>)` keys and might referense sensitive data from `argocd-notifications-secret` Secret. Following example demonstrates slack | ||
service configuration: | ||
|
||
The notification services are configured in the `notifiers.yaml` field of the `argocd-notifications-secret.yaml` Secret: | ||
```yaml | ||
service.slack: | | ||
token: $slack-token | ||
``` | ||
The `slack` indicates that service sends slack notification; name is missing and defaults to `slack`. | ||
|
||
## Sensitive Data | ||
|
||
Sensitive data like authentication tokens should be stored in `argocd-notifications-secret` Secret and can be referenced in | ||
service configuration using `$<secret-key>` format. For example `$slack-token` referencing value of key `slack-token` in | ||
`argocd-notifications-secret` Secret. | ||
|
||
## Custom Names | ||
|
||
Service custom names allow configuring two instances of the same service type. For example, in addition to slack, you might register slack compatible service | ||
that leverages [Mattermost](https://mattermost.com/): | ||
|
||
```yaml | ||
{!argocd-notifications-secret.yaml!} | ||
# Slack based notifier with name mattermost | ||
service.slack.mattermost: | | ||
apiURL: https://my-mattermost-url.com/api | ||
token: $slack-token | ||
``` | ||
|
||
## Service Types | ||
|
||
* [Slack](./slack.md) | ||
* [Opsgenie](./opsgenie.md) | ||
* [Grafana](./grafana.md) | ||
* [Webhook](./webhook.md) | ||
* [Telegram](./telegram.md) | ||
|
Oops, something went wrong.