From 39670fbd5646f07eca0b40c7f0bd0f6ea974d725 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo Date: Fri, 28 Jul 2023 11:13:56 +0200 Subject: [PATCH] OPSEXP-2077 Fixup Checkov not really linting all charts (#83) --- .checkov-values.yml | 9 +++++++++ .checkov.yml | 5 +++++ .pre-commit-config.yaml | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .checkov-values.yml diff --git a/.checkov-values.yml b/.checkov-values.yml new file mode 100644 index 00000000..7de03edc --- /dev/null +++ b/.checkov-values.yml @@ -0,0 +1,9 @@ +postgresql: + enabled: true +activemq: + enabled: true +elasticsearch: + enabled: true +global: + tracking: + sharedsecret: dummy diff --git a/.checkov.yml b/.checkov.yml index a2b0b783..e9ac7900 100644 --- a/.checkov.yml +++ b/.checkov.yml @@ -10,3 +10,8 @@ skip-check: - CKV_K8S_35 - CKV_K8S_38 - CKV_K8S_43 +var-file: .checkov-values.yml +skip-path: + - charts/alfresco-common + - charts/postgresql + - charts/elasticsearch diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8906177..6c00fe5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,8 @@ repos: rev: 2.3.130 hooks: - id: checkov - files: \.yaml$ + files: charts/.*\.yaml$ + verbose: true args: - --quiet - --compact