Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 630 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 630 Bytes

kubeval

GitHub action for validating k8s yaml & templates

Usage

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/*'

Example

I use this for my minecraft server, see another example use here.