netbox-docker-plugin
netbox-docker-plugin copied to clipboard
:wrench: Enable update trigger on Image Webhook
Decision Record
When the agent fails to pull an image (could be because of a temporary network issue), we have to delete it and recreate it to trigger the webhook again.
Let's enable the webhook for updates as well, so that saving the failed image triggers the webhook, enabling us to retry pulling.
NB: If the size of the image is not 0
, the agent will ignore it, so successfully pulled image will still be a "NO-OP".
Changes
- [x] :recycle: Update webhooks after migrations
- [x] :wrench: Enable update trigger on Image Webhook