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
Alexander Matyushentsev
authored
Mar 2, 2020
1 parent
f0d8085
commit b0736c6
Showing
11 changed files
with
88 additions
and
8 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Bot (v0.5) | ||
|
||
The optional bot component simplifies managing subscriptions. The end users can use bot commands to manage subscriptions | ||
even if they don't have access to the Kubernetes API and cannot modify annotations. | ||
|
||
The bot is not installed by default. Use the `install-bot.yaml` to intall it: | ||
|
||
``` | ||
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-notifications/stable/manifests/install-bot.yaml | ||
``` | ||
|
||
* [Slack bot](./slack-bot.md) | ||
* [Opsgenie bot](./opsgenie-bot.md) | ||
* [Telegram bot](./telegram-bot.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Opsgenie bot | ||
|
||
!!! note "Do you need Opsgenie bot? Please consider contributing or create [feature request](https://github.com/argoproj-labs/argocd-notifications/issues/new)!" | ||
|
||
<!-- markdownlint-disable MD033 --> | ||
<div style="text-align:center"><img src="../../assets/argo.png" /></div> | ||
<!-- markdownlint-enable MD033 --> |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Slack bot (v0.5) | ||
|
||
The Slack bot leverages [slash commands](https://api.slack.com/interactivity/slash-commands). The bot allows slack users | ||
to view existing channel subscriptions and subscribe or unsubscribe channels. | ||
|
||
1. Make sure bot component is [installed](./bot.md). | ||
1. Configure slack [integration](../services/slack.md). | ||
1. In the slack application settings page navigate to the 'Slash Commands' section and click 'Create New Command' button. | ||
1. Fill in new slack command details | ||
![image](https://user-images.githubusercontent.com/426437/75645798-2e022480-5bfc-11ea-8682-5ce362bdcc9a.png) | ||
1. In the slack application settings page navigate to the 'Basic Information' section and copy 'Signing Secret' from the 'App Credentials' section. | ||
1. Add `signingSecret` to the slack configuration in the `notifiers.yaml` field of the `argocd-notification-secret`: | ||
```yaml | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: argocd-notifications-secret | ||
stringData: | ||
notifiers.yaml: | | ||
slack: | ||
token: <my-token> | ||
signingSecret: <my-secret> | ||
``` | ||
## Commands | ||
The bot supports following commands: | ||
* `list-subscriptions` - list channel subscriptions | ||
* `subscribe <my-app> <optional-trigger>` - subscribes channel to the app notifications | ||
* `subscribe proj:<my-app> <optional-trigger>` - subscribes channel to the app project notifications | ||
* `unsubscribe <my-app> <optional-trigger>` - unsubscribes channel frm the app notifications | ||
* `unsubscribe proj:<my-app> <optional-trigger>` - unsubscribes channel frm the app project notifications |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Telegram bot | ||
|
||
!!! note "Do you need Telegram bot? Please consider contributing or create [feature request](https://github.com/argoproj-labs/argocd-notifications/issues/new)!" | ||
|
||
<!-- markdownlint-disable MD033 --> | ||
<div style="text-align:center"><img src="../../assets/argo.png" /></div> | ||
<!-- markdownlint-enable MD033 --> |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Telegram | ||
|
||
!!! note "Do you need Telegram support? Please consider contributing or thumbs up [feature request](https://github.com/argoproj-labs/argocd-notifications/issues/49)!" | ||
|
||
<!-- markdownlint-disable MD033 --> | ||
<div style="text-align:center"><img src="../../assets/argo.png" /></div> | ||
<!-- markdownlint-enable MD033 --> |
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