GitHub action for validating k8s yaml & templates
This action runs in the kubeval container, it passes your input to params
to kubeval
.
If all your k8s yaml is in a folder called k8s
, run it like this:
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dipshit/[email protected]
with:
params: 'k8s/*'
I use this for my minecraft server, see another example use here.