Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyzi/k8s-deploy
update image of kubernetes deployment through API
https://github.com/eyzi/k8s-deploy
actions deployment k8s-deployment kubernetes
Last synced: about 1 month ago
JSON representation
update image of kubernetes deployment through API
- Host: GitHub
- URL: https://github.com/eyzi/k8s-deploy
- Owner: eyzi
- License: mit
- Created: 2022-05-09T21:35:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-07T13:35:55.000Z (about 2 years ago)
- Last Synced: 2024-09-17T08:10:34.136Z (2 months ago)
- Topics: actions, deployment, k8s-deployment, kubernetes
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s-deploy
update image of kubernetes deployment through API
## Usage
```yml
- uses: eyzi/k8s-deploy@v1
with:
api_url: https://example.com/apis/apps/v1/namespaces/default/deployments/sample-app
api_token: example.Bearer.Token
image: sample-image
version: 1.0.0
```- `api_url` (required) - kubernetes API url of the deployment
- `api_token` (required) - a jsonwebtoken with access to deployment.
the easiest way to create one is by creating a `ServiceAccount` with
`Role` that has permission to update the deployments- `image` (required) - this image will replace the current image of the
deployment- `version` (required) - image version to deploy