Skip to content

Commit

Permalink
Make sure that provided join information is properly quoted
Browse files Browse the repository at this point in the history
Especially for auto-join using go-discover, the resultant string
needs to have quotes to be passed correctly.
  • Loading branch information
adilyse committed Nov 12, 2018
1 parent 48cdf85 commit 50e9f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/client-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
-data-dir=/consul/data \
{{- if (.Values.client.join) and (gt (len .Values.client.join) 0) }}
{{- range $value := .Values.client.join }}
-retry-join={{ $value }} \
-retry-join="{{ $value }}" \
{{- end }}
{{- else }}
{{- if .Values.server.enabled }}
Expand Down

0 comments on commit 50e9f34

Please sign in to comment.