From 2eb287a64db425e700bc9df46ae4646fcbb189b3 Mon Sep 17 00:00:00 2001 From: Jop Zitman Date: Thu, 10 Jun 2021 11:46:35 +0200 Subject: [PATCH] Gitleaks: update docs according to new scanner values spec Signed-off-by: Jop Zitman --- scanners/gitleaks/README.md | 15 ++++++++------- scanners/gitleaks/README.md.gotmpl | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/scanners/gitleaks/README.md b/scanners/gitleaks/README.md index 1db60e3af1..84c6d56122 100644 --- a/scanners/gitleaks/README.md +++ b/scanners/gitleaks/README.md @@ -54,19 +54,20 @@ If you already want to use our implementation (fork) of this feature you can use ```yaml # Corresponding HelmChart Configuration -image: - # image.repository -- Container Image to run the scan - repository: docker.io/securecodebox/scanner-gitleaks - # image.tag -- defaults to the charts version - tag: v7.3.0 +scanner: + image: + # scanner.image.repository -- Container Image to run the scan + repository: docker.io/securecodebox/scanner-gitleaks + # scanner.image.tag -- defaults to the charts version + tag: v7.3.0 ``` ### Deployment with extended GitLeaks ```bash # Install HelmChart (use -n to configure another namespace) helm upgrade --install gitleaks secureCodeBox/gitleaks \ - --set="image.repository=docker.io/securecodebox/scanner-gitleaks" \ - --set="image.tag=v7.3.0" + --set="scanner.image.repository=docker.io/securecodebox/scanner-gitleaks" \ + --set="scanner.image.tag=v7.3.0" ``` ### Additional (Fork) Scanner configuration options diff --git a/scanners/gitleaks/README.md.gotmpl b/scanners/gitleaks/README.md.gotmpl index 4dc7de59bf..be2b481746 100644 --- a/scanners/gitleaks/README.md.gotmpl +++ b/scanners/gitleaks/README.md.gotmpl @@ -59,19 +59,20 @@ If you already want to use our implementation (fork) of this feature you can use ```yaml # Corresponding HelmChart Configuration -image: - # image.repository -- Container Image to run the scan - repository: docker.io/securecodebox/scanner-gitleaks - # image.tag -- defaults to the charts version - tag: v7.3.0 +scanner: + image: + # scanner.image.repository -- Container Image to run the scan + repository: docker.io/securecodebox/scanner-gitleaks + # scanner.image.tag -- defaults to the charts version + tag: v7.3.0 ``` ### Deployment with extended GitLeaks ```bash # Install HelmChart (use -n to configure another namespace) helm upgrade --install gitleaks secureCodeBox/gitleaks \ - --set="image.repository=docker.io/securecodebox/scanner-gitleaks" \ - --set="image.tag=v7.3.0" + --set="scanner.image.repository=docker.io/securecodebox/scanner-gitleaks" \ + --set="scanner.image.tag=v7.3.0" ``` ### Additional (Fork) Scanner configuration options