Skip to content

statsig-io/kubectl-via-eksctl

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

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubectl-via-eksctl

Github action to invoke kubectl with a kubeconfig from eksctl.

Sample usage:

- name: Trigger app deployment
  uses: statsig-io/kubectl-via-eksctl@main
  env:
    aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    region: us-west-2
    cluster: ${{ secrets.CLUSTER_NAME }}
  with:
    args: rollout restart deployment/willanyoneeverreadthis

⚠️ NOTE ⚠️

The aws credentials passed in need AuthZ to export a kubeconfig and perform the requested actions in the cluster. To set that up, check How do I provide access to other IAM users and roles after cluster creation in Amazon EKS?

About

Github action to invoke kubectl with a kubeconfig from eksctl

Resources

License

Stars

Watchers

Forks