garm/apiserver/controllers
Gabriel Adrian Samfira c00048e128
Add optional keepWebhook flag when removing an entity
The user can opt to not delete the webhook (if installed) when removing
the entity from garm. Garm will only ever try to remove a webhook that
exactly matches the URL that is composed of the base webhook URL configured
in the config.toml file and the unique controller ID that is generated
when the controller is first installed. It should be safe to remove the
webhook when the entity is removed.

Of course, this behavior can be disabled.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-08-22 09:39:02 +03:00
..
controllers.go Add functions to (un)install webhooks for orgs and repos 2023-08-22 09:39:01 +03:00
enterprises.go Move errors to external package 2023-07-22 22:26:47 +00:00
instances.go Move errors to external package 2023-07-22 22:26:47 +00:00
organizations.go Add optional keepWebhook flag when removing an entity 2023-08-22 09:39:02 +03:00
pools.go Move errors to external package 2023-07-22 22:26:47 +00:00
repositories.go Add optional keepWebhook flag when removing an entity 2023-08-22 09:39:02 +03:00