Skip to main content

Azure/k8s-lint

Description:

This action lints your Kubernetes YAML files using kube-linter, a static analysis tool for Kubernetes YAML files. It helps identify issues such as deprecated API versions, missing values, or misconfigured resources.

Usage:

uses: Azure/k8s-lint@v1
with:
files: '**/*.yaml'

Inputs:

  • files (required): The path(s) to the Kubernetes manifest files to lint (e.g., **/*.yaml).

Example:

steps:
- name: Lint Kubernetes files
uses: Azure/k8s-lint@v1
with:
files: '**/*.yaml'
GitHub Repository