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

GitHub Action

kube-score check

v0.1.0

kube-score check

box

kube-score check

Uses the kube-score analysis tool to perform static code analysis of your Kubernetes object definitions

Installation

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

              

- name: kube-score check

uses: piraces/[email protected]

Learn more about this action in piraces/kube-score-ga

Choose a version

kube-score Github Action

Node.js CI (build, test, lint) Action CI

This action executes kube-score with selected manifests (with support for YAML, Helm or Kustomize manifests).

Inputs

kube-score-version

(Optional): The version of kube-score to use. Defaults to the latest available.

manifests-folders

Required: An array of relative paths containing manifests to analyze with kube-score (separated with commas). It is mandatory to establish a wildcard for the files or the concrete filename.

Example: ./manifests/*.yml,./other/manifests/*.yml

ignore-exit-code

(Optional): Will ignore the exit code provided by kube-score, will always pass the check. This could be useful in case of using the action in an information way.

Outputs

This actions does not contain outputs.

Example usage

uses: piraces/kube-score-ga@v1
with:
  manifests-folders: './manifests/*.yml'