Skip to content

Commit d0e1ee0

Browse files
authored
quote proxy env vars (#644)
1 parent 06bbcfa commit d0e1ee0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

charts/gitops-runtime/templates/_helpers.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,13 +513,13 @@ Print proxy environment variables
513513
*/}}
514514
{{- define "codefresh-gitops-runtime.get-proxy-env-vars" -}}
515515
{{- if .Values.global.httpProxy }}
516-
HTTP_PROXY: {{ .Values.global.httpProxy }}
516+
HTTP_PROXY: {{ .Values.global.httpProxy | quote }}
517517
{{- end }}
518518
{{- if .Values.global.httpsProxy }}
519-
HTTPS_PROXY: {{ .Values.global.httpsProxy }}
519+
HTTPS_PROXY: {{ .Values.global.httpsProxy | quote }}
520520
{{- end }}
521521
{{- if .Values.global.noProxy }}
522-
NO_PROXY: {{ .Values.global.noProxy }}
522+
NO_PROXY: {{ .Values.global.noProxy | quote }}
523523
{{- end }}
524524
{{- end -}}
525525

0 commit comments

Comments
 (0)