ArgoCD Notification Tips

  1. Add probes where there were no probes before
  2. Set the spec.minReady option to 30 seconds
- name: on-health-healthy
condition: app.status.sync.status == 'Synced' and app.status.health.status == 'Healthy'
template: app-health-healthy
{
"apiVersion": "argoproj.io/v1alpha1",
"kind": "Application",
"metadata": {
"name": "example",
"namespace": "argocd",
"finalizers": [
"resources-finalizer.argocd.argoproj.io"
],
"annotations": {
"recipients.argocd-notifications.argoproj.io": "slack:deployments",
"author": "<SLACK_ID>",
"environment": "production",
"app_url": "https://test.example.com",
"commit_msg": "This is a test commit",
"commit": "aabbcc123"
}
},
...
}
...
{
"title": "App URL",
"value": "{{ `{{.app.metadata.annotations.app_url}}` }}",
"short": true
}, {
"title": "Commit URL",
"value": "<{{ `{{.app.metadata.annotations.commit_url}}` }}|{{ `{{.app.metadata.annotations.commit}}` }}>",
"short": false
}, {
...
<@{{ `{{.app.metadata.annotations.author}}` }}>

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Kubernetes Custom Resource Definition

How to start Web3 Dev

How A Translation Management System Works

What you need to know to use CSS Grid Layout

Taming Side-Effects

Pygame Tutorial: Localizing Video Game UI and Text

A Quick Overview of Transmission Control Protocol/Internet Protocol(TCP/IP) Model

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Harry Panayiotou

Harry Panayiotou

More from Medium

Istio — Service Mesh — Introduction

Deconstructing Elasticsearch 8

Complete Continuous Integration & Deployments on RedHat OpenShift

Creating Amazon Elastic Container Service for Kubernetes (Amazon EKS)