Skip to content

KUBERNETES

Linters

Linter Configuration key
kubeval KUBERNETES_KUBEVAL
kubeconform KUBERNETES_KUBECONFORM

Linted files

  • File extensions:
    • .yml
    • .yaml
    • .json
  • Detected file content:
    • apiVersion:
    • kustomize\.config\.k8s\.io
    • tekton

Configuration in MegaLinter

Variable Description Default value
KUBERNETES_FILTER_REGEX_INCLUDE Custom regex including filter
KUBERNETES_FILTER_REGEX_EXCLUDE Custom regex excluding filter