From d6bc93e159f37a4b9236348e4badbd639da7ec55 Mon Sep 17 00:00:00 2001 From: Kevin Conner Date: Wed, 14 Feb 2024 09:22:33 -0300 Subject: [PATCH] UD-1202: Update the install hook to use the proxy configuration (#243) Signed-off-by: Kevin Conner --- charts/zora/templates/hooks/install.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/zora/templates/hooks/install.yaml b/charts/zora/templates/hooks/install.yaml index 6c17751e..78fbddc7 100644 --- a/charts/zora/templates/hooks/install.yaml +++ b/charts/zora/templates/hooks/install.yaml @@ -37,6 +37,9 @@ spec: - | curl -kfsS -X POST '{{ tpl .Values.saas.installURL . }}' \ -H 'content-type: application/json' \ + {{- if .Values.httpsProxy }} + -x '{{ .Values.httpsProxy}}' \ + {{- end }} -d '{{ toJson (dict "kubeVersion" .Capabilities.KubeVersion.GitVersion "chartVersion" .Chart.Version