Skip to content

KUBERNETES

Linters

Linter Additional
kubeconform
KUBERNETES_KUBECONFORM
GitHub stars
helm
KUBERNETES_HELM
GitHub stars
kubescape
KUBERNETES_KUBESCAPE
GitHub stars sarif

Linted files

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

Configuration in MegaLinter

Variable Description Default value
KUBERNETES_PRE_COMMANDS List of bash commands to run before the linters None
KUBERNETES_POST_COMMANDS List of bash commands to run after the linters None
KUBERNETES_FILTER_REGEX_INCLUDE Custom regex including filter
KUBERNETES_FILTER_REGEX_EXCLUDE Custom regex excluding filter