mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
fix(notifications): title customization (#1219)
This commit is contained in:
parent
e9c83af533
commit
2f4d58776d
6 changed files with 147 additions and 53 deletions
|
|
@ -326,6 +326,16 @@ Should only be used for testing.`)
|
|||
viper.GetBool("WATCHTOWER_NOTIFICATION_REPORT"),
|
||||
"Use the session report as the notification template data")
|
||||
|
||||
flags.StringP(
|
||||
"notification-title-tag",
|
||||
"",
|
||||
viper.GetString("WATCHTOWER_NOTIFICATION_TITLE_TAG"),
|
||||
"Title prefix tag for notifications")
|
||||
|
||||
flags.Bool("notification-skip-title",
|
||||
viper.GetBool("WATCHTOWER_NOTIFICATION_SKIP_TITLE"),
|
||||
"Do not pass the title param to notifications")
|
||||
|
||||
flags.String(
|
||||
"warn-on-head-failure",
|
||||
viper.GetString("WATCHTOWER_WARN_ON_HEAD_FAILURE"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue