Skip to content
anchor

GitHub Action

dipshit/kubeval

1.0 Latest version

dipshit/kubeval

anchor

dipshit/kubeval

validate k8s files with kubeval

Installation

Copy and paste the following snippet into your .yml file.

              

- name: dipshit/kubeval

uses: dipshit/kubeval@1.0

Learn more about this action in dipshit/kubeval

Choose a version

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/kubeval@1.0
      with:
        params: 'k8s/*'

Example

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