add support for fail-on-invalid-resource (#29)

This commit is contained in:
Kazuma Arimura
2025-01-15 13:26:51 +01:00
committed by GitHub
parent e5759fab01
commit 15786eefcc
4 changed files with 40 additions and 1 deletions
+1
View File
@@ -35,3 +35,4 @@ The workflow will fail if kube-linter detects issues. You'll find issues in the
| `format` | (optional) | Output format. Allowed values: `sarif`, `plain`, `json`. Default is `plain`. |
| `output-file` | (optional) | Path to a file where kube-linter output will be stored. Default is `kube-linter.log`. File will be overwritten if it exists. |
| `version` | (optional) | kube-linter release version to use, e.g. "0.2.4". The latest available version is used by default. |
| `fail-on-invalid-resource` | (optional) | Set `true` to error out when we have an invalid resource. |