Updater is a simple wrapper around the Kubernetes API to trigger a re-rollout of a deployment via api.
In manifests/
is an example deployment. Fix the namespace and modify the secret to your needs.
Configration is done via environment variables.
TOKEN
: Token that must be included in the web requestDEPLOYMENT
: Name of the deployment that will be rolled out
The request must contain a header with the token. Example:
curl -H "Token: $token" https://update-my-deployment.apps.example.com