Automation Menu

Webhooks

4min
one of the key benefits of using webhooks in kubeark is their ability to automate tasks and processes, such as sending notifications or updating databases in response to specific events additionally, the platform's webhooks provide users with an easy to use interface for managing and creating webhooks, without the need for extensive programming knowledge overview kubeark makes use of webhooks as a means of enabling real time communication between its platform and other applications these webhooks allow for the automatic triggering of events, such as the creation or updating of templates and deployments, as well as the integration of the platform's functionality with external rest based systems users can manage and create webhooks through the kubeark webhooks page, where they can view detailed information such as the user id , description , action , and payload for each webhook user id a unique identifier for the webhook description short text that describes the webhook's purpose action the event that triggers the webhook payload data that is being sent when the webhook is triggered overall, kubeark's utilization of webhooks allows for seamless integration with external systems and enables real time communication, automating tasks and processes, providing users with a more efficient and flexible way to manage their deployments and templates how does it work? creating a webhook in the kubeark platform is a simple process that can be done by clicking on the create webhook button on the webhooks page once you have clicked on the button, you will be prompted to provide the following attributes action type this is a drop down list that contains four available actions create template allows you to create a new template based on your config/payload update template allows you to update an existing template based on your config/payload deploy template allows you to deploy an existing template based on your config/payload update deployment allows you to update an existing deployment based on your config/payload 2\ user id this is a unique identifier for the webhook 3 description a short text that describes the purpose of the webhook 4 payload the data that is sent when the webhook is triggered please see below an example { "actions" { "payload" { "name" "chrome", "namespace" "default", "owner" "kube", "template name" "chrome", "extra args" { "env resolution" "1920x1080", "env user" "", "env password" "", "ingress enabled" "true", "ingress ingressclassname" "nginx", "ingress hostname" "chrome kubeark com", "ingress annotations\\\\ external dns\\\\ alpha kubernetes io/target" "127 0 0 1", "pathtype" "prefix" }, "environment action" "terminate" }, "action" "create deployment" }, "owner" "kube" } once you have provided all the required information, click on the "save" button to create the webhook the webhook will now be listed on the webhooks page and you can view, edit or delete it as needed