Supporting adjust volume size & pre-update backups.
This commit is contained in:
@@ -20,6 +20,27 @@
|
||||
},
|
||||
"execute-command": "/etc/webhook/queue-restic-snapshot.sh"
|
||||
},
|
||||
{
|
||||
"id": "queue-restic-snapshot-no-restart",
|
||||
"pass-environment-to-command": [
|
||||
{"source": "payload", "name": "version"},
|
||||
{"source": "payload", "name": "path"},
|
||||
{"source": "payload", "name": "tag"},
|
||||
{"source": "payload", "name": "request_id"}
|
||||
],
|
||||
"trigger-rule":
|
||||
{
|
||||
"match": {
|
||||
"type": "payload-hmac-sha256",
|
||||
"secret": "$INSTANCE_CONTROL_WEBHOOKS_SECRET",
|
||||
"parameter": {
|
||||
"source": "header",
|
||||
"name": "X-Nassella-Signature"
|
||||
}
|
||||
}
|
||||
},
|
||||
"execute-command": "/etc/webhook/queue-restic-snapshot-no-restart.sh"
|
||||
},
|
||||
{
|
||||
"id": "restic-snapshot-status",
|
||||
"include-command-output-in-response": true,
|
||||
|
||||
Reference in New Issue
Block a user