From a4ae5c5bd2ebfe86ff7e6c23f23daea7ba5627ed Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 30 Sep 2021 12:21:47 +0200 Subject: [PATCH] Making cascading-rules.yaml files consistent Only very small changes: 1. No new-line at end of file 2. Comments were different Signed-off-by: Sebastian --- scanners/typo3scan/templates/cascading-rules.yaml | 5 ++++- scanners/zap-advanced/templates/cascading-rules.yaml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scanners/typo3scan/templates/cascading-rules.yaml b/scanners/typo3scan/templates/cascading-rules.yaml index 2c32ae28d4..97dd683b66 100644 --- a/scanners/typo3scan/templates/cascading-rules.yaml +++ b/scanners/typo3scan/templates/cascading-rules.yaml @@ -1,12 +1,15 @@ # SPDX-FileCopyrightText: 2021 iteratec GmbH # # SPDX-License-Identifier: Apache-2.0 + # We only want to import the default cascading rules if they are enabled {{ if .Values.cascadingRules.enabled }} +# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :( +# We import them as raw files to avoid these clashes as escaping them is even more messy {{ range $path, $_ := .Files.Glob "cascading-rules/*" }} # Include File {{ $.Files.Get $path }} # Separate multiple files --- {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/scanners/zap-advanced/templates/cascading-rules.yaml b/scanners/zap-advanced/templates/cascading-rules.yaml index ba17285cb7..97dd683b66 100644 --- a/scanners/zap-advanced/templates/cascading-rules.yaml +++ b/scanners/zap-advanced/templates/cascading-rules.yaml @@ -4,7 +4,7 @@ # We only want to import the default cascading rules if they are enabled {{ if .Values.cascadingRules.enabled }} -# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :( +# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :( # We import them as raw files to avoid these clashes as escaping them is even more messy {{ range $path, $_ := .Files.Glob "cascading-rules/*" }} # Include File @@ -12,4 +12,4 @@ # Separate multiple files --- {{ end }} -{{ end }} \ No newline at end of file +{{ end }}