mirror of
https://github.com/containrrr/watchtower.git
synced 2026-03-12 15:42:35 +01:00
Added hangouts chat notification support
This commit is contained in:
parent
f317f9fbc8
commit
d75f3e018c
4 changed files with 109 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func RegisterNotificationFlags(rootCmd *cobra.Command) {
|
|||
"notifications",
|
||||
"n",
|
||||
viper.GetStringSlice("WATCHTOWER_NOTIFICATIONS"),
|
||||
" notification types to send (valid: email, slack, msteams, gotify)")
|
||||
" notification types to send (valid: email, slack, msteams, gotify, hangouts)")
|
||||
|
||||
flags.StringP(
|
||||
"notifications-level",
|
||||
|
|
@ -220,6 +220,12 @@ Should only be used for testing.
|
|||
"",
|
||||
viper.GetString("WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN"),
|
||||
"The Gotify Application required to query the Gotify API")
|
||||
|
||||
flags.StringP(
|
||||
"notification-hangouts-url",
|
||||
"",
|
||||
viper.GetString("WATCHTOWER_NOTIFICATION_HANGOUTS_CHAT_WEBHOOK_URL"),
|
||||
"The Hangouts Chat Webhook Channel URL to send notifications to")
|
||||
}
|
||||
|
||||
// SetDefaults provides default values for environment variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue