Notifications
Argo CD allows notifications to be configured using Kubernetes ConfigMaps and Secrets. The Akuity Platform provides a convenient way to configure notifications through its dashboard.
All notification settings can be located by navigating to
Check out our how to add GitHub commit status notifications for Argo CD on the Akuity Platform.
Configure services
-
Select the
Configuration tab. -
Click
+ Add New :-
Select the type of service.
-
Enter all required fields (these will vary by service type).
-
Click
Add .
Repeat these steps if you want to add more services.
noteConfiguration tab doesn't currently support all possible services. For now, onlyEmail andSlack are supported. We are continuing to add support for additional services. If you want to add more services, you can use theYAML Editor tab. -
-
Click
Save to persist the configuration to aConfigMap
.
The platform automatically injects .context.argocdUrl
for you. This means that if you have specified a .context.argocdUrl
will automatically be updated. You can override its value using the
Configure triggers and templates
Argo CD comes with a catalog of predefined triggers and templates.
-
Select the
Configuration tab. -
Click
Import From Catalog . -
Click
Confirm .
You can also define your own
Each
-
Select the
Configuration tab. -
Click
Templates . -
Click
+ Add Template . -
Enter a unique
Name . -
Input configuration in the
Template field. Refer to the Argo CD templates documentation for more details. -
Click
Add .
Once your
-
Click
+ Add Trigger -
Fill in all required fields.
-
Select or add a new Template by following the above steps.
-
Click
Add .
Repeat these steps if you want to add more triggers or templates.
- Click
Save to persist the configuration to aConfigMap
.
Secrets
The Akuity Platform allows you to easily manage sensitive information that can be referenced elsewhere in the configuration of your notifications using a $
sign (e.g. $slack-token
).
To add a new secret:
-
Select the
Secrets tab. -
Then:
-
Click
+ New Secret . -
Enter the secret name (without a
$
sign) in theKey column. -
Press the
Enter key on your keyboard. -
Enter the secret's value in the
Value column.
Repeat these steps if you want to add more secrets.
-
-
Click
Save to persist the data in aSecret
.
After a secret is added, it will never be displayed again in the dashboard, but can be redefined or removed.