Skip to content

Commit

Permalink
subcommand and args are not quoted together
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Aug 30, 2023
1 parent dcbf001 commit bb7545d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions charts/bridges-common-relay/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
{{- if .Values.relayHeaders.enabled }}
- "relay-headers {{ .Values.relayHeaders.name }}"
- "relay-headers"
- "{{ .Values.relayHeaders.name }}"
{{- range $key, $value := .Values.relayHeaders.params }}
- "--{{ $key }} {{ $value }}"
{{- end }}
{{- end }}
{{- if .Values.relayHeadersAndMessages.enabled }}
- "relay-headers-and-messages {{ .Values.relayHeadersAndMessages.name }}"
- "relay-headers-and-messages"
- "{{ .Values.relayHeadersAndMessages.name }}"
{{- range $key, $value := .Values.relayHeadersAndMessages.params }}
{{- if kindIs "slice" $value }}
{{- range $param := $value }}
Expand Down

0 comments on commit bb7545d

Please sign in to comment.