diff --git a/.github/kubelinter-config.yaml b/.github/kubelinter-config.yaml new file mode 100644 index 0000000..ab2b6f6 --- /dev/null +++ b/.github/kubelinter-config.yaml @@ -0,0 +1,5 @@ +checks: + addAllBuiltIn: true + exclude: + - "privileged-container" + - "run-as-non-root" \ No newline at end of file diff --git a/.github/workflows/kubelinter.yml b/.github/workflows/kubelinter.yml index 5aa850f..99dcab4 100644 --- a/.github/workflows/kubelinter.yml +++ b/.github/workflows/kubelinter.yml @@ -21,6 +21,7 @@ jobs: directory: . format: sarif output-file: kube-linter-results.sarif + config: .github/kubelinter-config.yaml - name: Scan repo with kube-linter as txt continue-on-error: true