Skip to content

Commit

Permalink
use quote for DNS_ADDRS
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-abrioux committed Dec 11, 2021
1 parent 8b6a568 commit e8abfdc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ spec:
key: {{ .existingSecret.passwordKey }}
{{- end }}
{{- end }}
{{- with .Values.shadowsocks.dnsServers }}
- name: DNS_ADDRS
value: {{ join "," . }}
{{- end }}
value: {{ .Values.shadowsocks.dnsServers | join "," | quote }}
{{- with .Values.shadowsocks.timeout }}
- name: TIMEOUT
value: {{ quote . }}
Expand Down

0 comments on commit e8abfdc

Please sign in to comment.