Skip to content

Instantly share code, notes, and snippets.

@PyYoshi
Created May 19, 2020 00:48
Show Gist options
  • Save PyYoshi/d4b48a0b186bea7ee4ffd00e0933da7f to your computer and use it in GitHub Desktop.
Save PyYoshi/d4b48a0b186bea7ee4ffd00e0933da7f to your computer and use it in GitHub Desktop.
setup helm-kubeval for github actions
- name: Setup helm-kubeval
env:
KUBEVAL_VERSION: 0.15.0
run: |
curl -L "https://github.com/instrumenta/kubeval/releases/download/$KUBEVAL_VERSION/kubeval-linux-amd64.tar.gz" -o /tmp/kubeval-linux-amd64.tar.gz
tar xvf /tmp/kubeval-linux-amd64.tar.gz -C /tmp
chmod +x /tmp/kubeval
mv /tmp/kubeval /usr/local/bin/
kubeval --version
helm plugin install https://github.com/instrumenta/helm-kubeval
helm plugin list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment