How can we fetch UserInfo in ArgoCD notifications templates. #10294
-
Hi All, We are running ArgoCD 2.4.3 and using slack notification with all the templates. Curious if we can add User details too who synced the charts as part of the message ? If so , how can we do it please provide a direction ?
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
https://argocd-notifications.readthedocs.io/en/stable/templates/#functions
|
Beta Was this translation helpful? Give feedback.
-
@pasha-codefresh Is there way to get who initiated it so I can add it to notification template ? |
Beta Was this translation helpful? Give feedback.
-
Application {{.app.metadata.name}} has been deleted by {{ .app.status.operationState.operation.initiatedBy.username}}. |
Beta Was this translation helpful? Give feedback.
-
is there any triggers for custom template? |
Beta Was this translation helpful? Give feedback.
-
Template: |
Beta Was this translation helpful? Give feedback.
https://argocd-notifications.readthedocs.io/en/stable/templates/#functions