Skip to content

StrongMonkey/flt-apply

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

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fleet apply docker action

This action runs flt apply on your git repo. https://github.com/rancher/fleet#quick-start

Inputs

directory-to-bundle

It requires kubeconfig to be put as a secret in your github repo. To see how to add secret to your repo, check https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets.

Note: you need to encode your kubeconfig with base64 before you put it into github secrets.

cat ${KUBECONFIG} | base64

Example usage

env:
  KUBECONFIG_SECRET: ${{ secrets.kubeconfig }}

steps:
- uses: actions/flt-apply@v0.0.1
  with:
    directory-to-bundle: './dir/to/bundle'