Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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