Skip to content
Compare
Choose a tag to compare
@lucduong lucduong released this 18 Jul 08:52
· 40 commits to main since this release

Simple, minimal usage

- name: Set up kubectl
  uses: ltv/bizfly-kube@v1
  with:
    credentialId: ${{ secrets.BIZFLY_CREDENTIAL_ID }}
    credentialSecret: ${{ secrets.BIZFLY_CREDENTIAL_SECRET }}
    clusterName: my-fabulous-cluster

- name: Get nodes
  run: kubectl get nodes

This will setup kubectl configured with your Bizfly Kubernetes cluster. After that you're free to use kubectl as you wish!

Specifying a specific kubectl version

- name: Set up kubectl
  uses: ltv/bizfly-kube@v1
  with:
    credentialId: ${{ secrets.BIZFLY_CREDENTIAL_ID }}
    credentialSecret: ${{ secrets.BIZFLY_CREDENTIAL_SECRET }}
    clusterName: my-fabulous-cluster
    version: '1.17.4'

- name: Get nodes
  run: kubectl get nodes