Configure KubeLinter with a YAML file
mainYou can configure the checks KubeLinter runs or define custom checks using a YAML configuration file. When running the lint command, use the --config flag to specify the path to your file.
If no config file is provided, KubeLinter searches the current working directory for files in this order:
.kube-linter.yaml.kube-linter.yml
If neither is found, KubeLinter uses its default configuration.
The configuration file is divided into two main sections:
customChecks: For defining and configuring custom checks.checks: For configuring built-in default checks.