From 7638e0f64dad9573783e948542097a5881d348dc Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Mon, 28 Oct 2024 17:20:21 +0100 Subject: [PATCH] Quote SH AccountID Signed-off-by: Frank Jogeleit --- charts/policy-reporter/Chart.yaml | 2 +- charts/policy-reporter/README.md | 2 +- charts/policy-reporter/templates/_helpers.tpl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/policy-reporter/Chart.yaml b/charts/policy-reporter/Chart.yaml index 377dbf2e..a1bb75e3 100644 --- a/charts/policy-reporter/Chart.yaml +++ b/charts/policy-reporter/Chart.yaml @@ -5,7 +5,7 @@ description: | It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord type: application -version: 3.0.0-rc.6 +version: 3.0.0-rc.7 appVersion: 3.0.0-rc.3 icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png diff --git a/charts/policy-reporter/README.md b/charts/policy-reporter/README.md index 312472fb..66adc4b0 100644 --- a/charts/policy-reporter/README.md +++ b/charts/policy-reporter/README.md @@ -3,7 +3,7 @@ Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord -![Version: 3.0.0-rc.6](https://img.shields.io/badge/Version-3.0.0--rc.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0-rc.3](https://img.shields.io/badge/AppVersion-3.0.0--rc.3-informational?style=flat-square) +![Version: 3.0.0-rc.7](https://img.shields.io/badge/Version-3.0.0--rc.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0-rc.3](https://img.shields.io/badge/AppVersion-3.0.0--rc.3-informational?style=flat-square) ## Documentation diff --git a/charts/policy-reporter/templates/_helpers.tpl b/charts/policy-reporter/templates/_helpers.tpl index ea498ee5..f5b78b8b 100644 --- a/charts/policy-reporter/templates/_helpers.tpl +++ b/charts/policy-reporter/templates/_helpers.tpl @@ -229,11 +229,11 @@ config: {{- define "target.securityhub" -}} config: - accessKeyId: {{ .accessKeyId }} - secretAccessKey: {{ .secretAccessKey }} + accessKeyId: {{ .accessKeyId | quote }} + secretAccessKey: {{ .secretAccessKey | quote }} region: {{ .region }} endpoint: {{ .endpoint }} - accountId: {{ .accountId }} + accountId: {{ .accountId | quote }} productName: {{ .productName }} companyName: {{ .companyName }} delayInSeconds: {{ .delayInSeconds }}