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 Argo CD → your instance → Settings → Notifications.
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, only Email and Slack are supported. We are continuing to add support for additional services. If you want to add more services, you can use the YAML Editor tab.
-
-
Click Save to persist the configuration to a
ConfigMap
.
The platform automatically injects .context.argocdUrl
for you. This means that if you have specified a Custom Domain in Argo CD → your instance → Settings → Security & Access → External Access, .context.argocdUrl
will automatically be updated. You can override its value using the YAML Editor functionality, in which case the Akuity Platform will leave it as you specified.
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 Triggers or Templates.
Each Trigger uses one Template. You need to add a Template first, or you can add it in the Add Trigger modal:
-
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 Template is visible in the list, go back and add a new Trigger:
-
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 a
ConfigMap
.
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
$
) in the Key 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 a
Secret
.
After a secret is added, it will never be displayed again in the dashboard, but can be redefined or removed.