From 1a357904d0d6d99fe59d0f83e7816a211b3d7c85 Mon Sep 17 00:00:00 2001 From: Bob Callaway Date: Thu, 31 Oct 2024 15:23:23 -0400 Subject: [PATCH 1/2] change extraArgs for ctlog chart to be handled consistently Signed-off-by: Bob Callaway --- charts/ctlog/Chart.yaml | 2 +- charts/ctlog/templates/_helpers.tpl | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/charts/ctlog/Chart.yaml b/charts/ctlog/Chart.yaml index 3d232ab6..b662f389 100644 --- a/charts/ctlog/Chart.yaml +++ b/charts/ctlog/Chart.yaml @@ -4,7 +4,7 @@ description: Certificate Log type: application -version: 0.2.58 +version: 0.2.59 appVersion: 0.7.15 keywords: diff --git a/charts/ctlog/templates/_helpers.tpl b/charts/ctlog/templates/_helpers.tpl index 5ff3fab7..33f1cc7f 100644 --- a/charts/ctlog/templates/_helpers.tpl +++ b/charts/ctlog/templates/_helpers.tpl @@ -110,15 +110,9 @@ Server Arguments - {{ printf "--metrics_endpoint=0.0.0.0:%d" (.Values.server.portHTTPMetrics | int) | quote }} - "--log_config=/ctfe-keys/config" - "--alsologtostderr" -{{- if .Values.server.extraArgs -}} -{{- range $key, $value := .Values.server.extraArgs }} -{{- if $value }} -- {{ printf "%v=%v" $key $value | quote }} -{{- else }} -- {{ printf $key | quote }} -{{- end }} -{{- end }} -{{- end -}} +{{- range .Values.server.extraArgs }} +- {{ . | quote }} +{{ end }} {{- end -}} {{/* From b777afadac05133ceea20b5bae7957cfc0d777ae Mon Sep 17 00:00:00 2001 From: Bob Callaway Date: Thu, 31 Oct 2024 15:24:00 -0400 Subject: [PATCH 2/2] bump version Signed-off-by: Bob Callaway --- charts/ctlog/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ctlog/README.md b/charts/ctlog/README.md index 88b7e87c..ce865078 100644 --- a/charts/ctlog/README.md +++ b/charts/ctlog/README.md @@ -1,6 +1,6 @@ # ctlog -![Version: 0.2.58](https://img.shields.io/badge/Version-0.2.58-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.15](https://img.shields.io/badge/AppVersion-0.7.15-informational?style=flat-square) +![Version: 0.2.59](https://img.shields.io/badge/Version-0.2.59-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.15](https://img.shields.io/badge/AppVersion-0.7.15-informational?style=flat-square) Certificate Log