Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

kube-linter

Actions
Scan directory or file with kube-linter
v1.0.3
Verified creator
Star (33)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

kube-linter-action - KubeLinter GitHub Action

This is a GitHub action for scanning Kubernetes YAML files and Helm charts in your GitHub workflow with kube-linter.

Quickstart

  1. Copy .github/workflows/kube-linter-sample.yml file to .github/workflows directory in your repo.
  2. Adjust scan directory to the location where your Kubernetes or Helm files are. See Parameters below.

The new workflow will run every time there's a new push to the repo.
Workflow will fail if kube-linter detects issues. You'll find issues in the output of kube-linter-action.

Example

      - name: Scan repo with kube-linter
        uses: stackrox/[email protected]
        with:
          directory: yamls
          config: .kube-linter/config.yaml

Parameters

  • directory (required) - path of file or directory to scan, absolute or relative to the root of the repo.
  • config (optional) - path to a configuration file if you wish to use a non-default configuration.

kube-linter is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Scan directory or file with kube-linter
v1.0.3

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

kube-linter is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.