https://github.com/bitsbeats/updater
Helper to trigger a deployment rollout
https://github.com/bitsbeats/updater
api deployment kubernetes rollout trigger update
Last synced: 3 months ago
JSON representation
Helper to trigger a deployment rollout
- Host: GitHub
- URL: https://github.com/bitsbeats/updater
- Owner: bitsbeats
- License: apache-2.0
- Created: 2020-01-30T09:45:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T10:45:23.000Z (over 3 years ago)
- Last Synced: 2024-06-21T02:27:00.640Z (about 2 years ago)
- Topics: api, deployment, kubernetes, rollout, trigger, update
- Language: Go
- Size: 5.22 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# updater
Updater is a simple wrapper around the Kubernetes API to trigger a re-rollout of a deployment via api.
## deployment
In `manifests/` is an example deployment. Fix the namespace and modify the secret to your needs.
## configuration
Configration is done via environment variables.
- `TOKEN`: Token that must be included in the web request
- `DEPLOYMENT`: Name of the deployment that will be rolled out
## webhook
The request must contain a header with the token. Example:
```sh
curl -H "Token: $token" https://update-my-deployment.apps.example.com
```