Skip to content

Setup Kops and perform command as Github Action

License

Notifications You must be signed in to change notification settings

hiberbee/github-action-kops

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

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Action Kops

License GitHub Action Status GitHub Workflow Version

Example

name: Kops
on: push
jobs:
  export-kubeconfig:
    name: Validate cluster
    runs-on: ubuntu-20.04
    steps:
      - name: Setup Kops
        uses: hiberbee/github-action-kops@latest
        with:
          command: validate cluster
          cluster-name: k8s.hiberbee.net
          state-store: s3://hiberbee-infrastructure-state
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          AWS_REGION: ${{ secrets.AWS_DEFAULT_REGION }}