Add initial support for webhook notifications

This commit is contained in:
2022-07-06 13:30:42 -04:00
parent 4b20a722bd
commit 5563f8921f
5 changed files with 102 additions and 1 deletions

View File

@ -31,3 +31,16 @@ pvc:
base: "base.yml"
pvc: "pvc.yml"
bootstrap: "bootstrap.yml"
notifications:
enabled: false
uri: https://mattermost.domain.tld/hooks/asecretstring
action: post
icons:
begin: "🤞" # A task is beginning
success: "✅" # A task succeeded
failure: "❌" # A task failed
body:
channel: "mychannel"
username: "pvcbootstrapd"
text: "@person {icon} {message}"