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 @@ -37,7 +37,22 @@ stringData:
3737 grafana-api-key : api-key
3838` ` `
3939
40- 7. Create subscription for your Grafana integration
40+ 7. Create a template in ` argo-notifications-cm` Configmap
41+ This will be used to pass the (required) text of the annocation to Grafana (or re-use an existing one)
42+ As there is no specific template for Grafana, you must use the generic `message` :
43+
44+ ` ` ` yaml
45+ apiVersion: v1
46+ kind: ConfigMap
47+ metadata:
48+ name: argocd-notifications-cm
49+ data:
50+ templates:
51+ template.app-deployed: |
52+ messsage: Application {{.app.metadata.name}} is now running new version of deployments manifests.
53+ ` ` `
54+
55+ 8. Create subscription for your Grafana integration
4156
4257` ` ` yaml
4358apiVersion: argoproj.io/v1alpha1
@@ -47,5 +62,5 @@ metadata:
4762 notifications.argoproj.io/subscribe.<trigger-name>.grafana: tag1|tag2 # list of tags separated with |
4863` ` `
4964
50- 8 . Change the annotations settings
51- 
65+ 9 . Change the annotations settings
66+ 
You can’t perform that action at this time.
0 commit comments