https://github.com/thesharp/simple-k8s-deploy
This action deploys to a locally available Kubernetes cluster
https://github.com/thesharp/simple-k8s-deploy
deployment github-actions k8s kubernetes
Last synced: about 1 month ago
JSON representation
This action deploys to a locally available Kubernetes cluster
- Host: GitHub
- URL: https://github.com/thesharp/simple-k8s-deploy
- Owner: thesharp
- License: mit
- Created: 2023-10-01T19:00:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T19:35:03.000Z (over 2 years ago)
- Last Synced: 2025-01-02T15:49:52.045Z (over 1 year ago)
- Topics: deployment, github-actions, k8s, kubernetes
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# simple-k8s-deploy action
This action deploys to a locally available Kubernetes cluster (you have to have a correct `ServiceAccount` attached to your runner pods). A kubectl and yq would be downloaded before conducting a deployment.
## Inputs
## `kubectl_version`
kubectl binary version. Default `"1.28.2"`.
## `manifest_filepath`
Path to a Kubernetes deployment manifest. Default `"kubernetes/deployment.yaml"`.
## `container_name`
**Required** Container name that would have it's image overwritten inside the deployment manifest.
## `image_name`
**Required** Image name that would be overwritten inside the deployment manifest.
## Outputs
## `kubectl-apply`
Result of kubectl apply.
## Example usage
```yaml
uses: thesharp/simple-k8s-deploy@v1
with:
container_name: "application"
image_name: "ghcr.io/user/application:1.55"
```