prom2teams is an HTTP server built with Python that receives alert notifications from a previously configured Prometheus Alertmanager instance and forwards it to Microsoft Teams using defined connectors
Apache License 2.0
268
stars
84
forks
source link
Added possibility to define your own j2 template string for Helm Chart #334
Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions
Remember to set idealista:develop as base branch;
Description of the Change
This pull request adds the possibility to define your own j2 template (as string) when installing using HELM chart.
Benefits
you can define/create your own content for MS Teams Body instead of using the default teams.j2.
Possible Drawbacks
Layer-8. If user doesn't add the correct content to the variable, YAML syntax error can appear.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Requirements
Description of the Change
This pull request adds the possibility to define your own j2 template (as string) when installing using HELM chart.
Benefits
you can define/create your own content for MS Teams Body instead of using the default teams.j2.
Possible Drawbacks
Layer-8. If user doesn't add the correct content to the variable, YAML syntax error can appear.
Working example: