Skip to content

This action deploys to a locally available Kubernetes cluster

License

Notifications You must be signed in to change notification settings

thesharp/simple-k8s-deploy

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

uses: thesharp/simple-k8s-deploy@v1
with:
    container_name: "application"
    image_name: "ghcr.io/user/application:1.55"

About

This action deploys to a locally available Kubernetes cluster

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published