Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Fix extraArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiarchitect committed Apr 7, 2022
1 parent e76ab32 commit 1594d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keydb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: keydb
description: A Helm chart for KeyDB multimaster setup
type: application
version: 0.33.2
version: 0.33.3
keywords:
- keydb
- redis
Expand Down
6 changes: 3 additions & 3 deletions keydb/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ spec:
{{- range $item := .Values.exporter.extraArgs }}
{{- range $key, $value := $item }}
{{- if kindIs "invalid" $value }}
- --{{ $key }} \
- --{{ $key }}
{{- else if kindIs "slice" $value }}
- --{{ $key }}{{ range $value }} {{ . | quote }}{{ end }} \
- --{{ $key }}{{ range $value }} {{ . | quote }}{{ end }}
{{- else }}
- --{{ $key }} {{ $value | quote }} \
- --{{ $key }} {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 1594d2d

Please sign in to comment.