File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,22 @@ stringData:
4141 grafana-api-key : api-key
4242` ` `
4343
44- 7. Create subscription for your Grafana integration
44+ 7. Create a template in ` argo-notifications-cm` Configmap
45+ This will be used to pass the (required) text of the annocation to Grafana (or re-use an existing one)
46+ As there is no specific template for Grafana, you must use the generic `message` :
47+
48+ ` ` ` yaml
49+ apiVersion: v1
50+ kind: ConfigMap
51+ metadata:
52+ name: argocd-notifications-cm
53+ data:
54+ templates:
55+ template.app-deployed: |
56+ messsage: Application {{.app.metadata.name}} is now running new version of deployments manifests.
57+ ` ` `
58+
59+ 8. Create subscription for your Grafana integration
4560
4661` ` ` yaml
4762apiVersion: argoproj.io/v1alpha1
@@ -51,5 +66,5 @@ metadata:
5166 notifications.argoproj.io/subscribe.<trigger-name>.grafana: tag1|tag2 # list of tags separated with |
5267` ` `
5368
54- 8 . Change the annotations settings
55- 
69+ 9 . Change the annotations settings
70+ 
You can’t perform that action at this time.
0 commit comments