Skip to content

Commit

Permalink
Merge pull request #859 from bobcallaway/ctlog_0259
Browse files Browse the repository at this point in the history
handle extraArgs consistently in ctlog chart as in other charts
  • Loading branch information
bobcallaway authored Oct 31, 2024
2 parents 9eca5e7 + b777afa commit 92b12d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/ctlog/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Certificate Log

type: application

version: 0.2.58
version: 0.2.59
appVersion: 0.7.15

keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/ctlog/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 3 additions & 9 deletions charts/ctlog/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

{{/*
Expand Down

0 comments on commit 92b12d8

Please sign in to comment.