Sign inSign up

desaintmartin/helm-kubeval-action

By desaintmartin

•Updated over 5 years ago

Image
0

302

desaintmartin/helm-kubeval-action repository overview

⁠Helm Kubeval

A GitHub Action⁠ for using Kubeval⁠ to validate Helm Charts in your workflows.

Supports Helm 3 only.

⁠Example Workflow

You can use the action as follows:

on: push
name: Validate
jobs:
  kubeval:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: test
      uses: desaintmartin/helm-kubeval-action@master
      with:
        path: ./helm-charts
        config: ./config_repos

By default the action will:

  • Look for each Helm Chart
  • For each, look for values file in its ci directory (otherwise don't use values file)
  • run helm template and validate the output as Kubernetes objects.

⁠Inputs

The Helm Kubeval Action has a number of properties which map to the parameters for Kubeval itself. These are passed to the action using with.

For more information on inputs, see the API Documentation⁠

PropertyDefaultDescription
path.The path to the directory containing your Chart(s)
configconfig_reposThe path to the configuration file containing your Chart(s) Repository Url(s)
outputstdoutHow to format the output from Conftest (stdout, json or tap)
openshiftfalseWhether or not to use the OpenShift schemas rather than the upstread Kubernetes ones
stricttrueWhether ot not to fail for additional properties in objects
ignore_missing_schemastrueWhether to fail if unknown resources are found
versionmasterWhich version of Kubernetes to validate against

Tag summary

Content type

Image

Digest

Size

19.3 MB

Last updated

over 5 years ago

docker pull desaintmartin/helm-kubeval-action