feat(notifications): add json template (#1542)

This commit is contained in:
nils måsén 2023-01-29 17:10:18 +01:00 committed by GitHub
parent 8464e0dece
commit 547d033460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 211 additions and 14 deletions

View file

@ -35,5 +35,6 @@ var commonTemplates = map[string]string{
no containers matched filter
{{- end -}}
{{- end -}}`,
}
`json.v1`: `{{ . | ToJSON }}`,
}