GIT webhooks provider that triggers kubernetes cluster helm deployment removal on branch deletion.
10K+
This container exposes GIT webhooks that will trigger kubernetes cluster helm deployment removal on branch deletion. Once webhook request is received, it will log on to Google Kubernetes Cluster and remove the deployment.
Compatibility:
<domain>/webhooksapplication/x-www-form-urlencoded<same as WEBHOOKS_SECRET>Branch or tag deletionWeb HooksCode pushed<domain>/webhooks<any><same as WEBHOOKS_SECRET>Redis server for task queue
Provide following environment variables for the container
serviceAccountName that has permissions to remove other pods and helm releases.You have to add a custom application to your Github organisation (https://github.com/organizations/<org name>/settings/apps/new). Minimal configuration needs Webhook URL and Webhook secret (optional) defined.
Application permissions & webhooks section, add Repository contents r/o permission and check Delete (Branch or tag deleted.) option in Subscribe to events section.
Enable this application in your organisation (https://github.com/organizations/<org name>/settings/apps/<app name>/installations). URL address is <host>/webhooks (port 80)
Automated builds:
Tag a new release in github, docker hub integration will build and publish the images automatically.
Manual builds (only when automated builds are not working):
docker build --tag 'wunderio/silta-deployment-remover:latest' --tag 'wunderio/silta-deployment-remover:v1' --tag 'wunderio/silta-deployment-remover:v1.X' --tag 'wunderio/silta-deployment-remover:v1.X.Y' .
docker push wunderio/silta-deployment-remover:latest
docker push wunderio/silta-deployment-remover:v1
docker push wunderio/silta-deployment-remover:v1.X
docker push wunderio/silta-deployment-remover:v1.X.Y
Content type
Image
Digest
sha256:d04665010…
Size
39.1 MB
Last updated
9 months ago
docker pull wunderio/silta-deployment-remover