From 6b1c60aa712d33868791b6e4549c934bbb98a052 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Tue, 26 Nov 2024 15:58:42 +0800 Subject: [PATCH] [Jupyter] Pass certificates as a tuple for compatibility with python requests>=2.32 [IG-23217](https://iguazio.atlassian.net/browse/IG-23217) --- stable/jupyter/Chart.yaml | 2 +- stable/jupyter/templates/jupyter-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/jupyter/Chart.yaml b/stable/jupyter/Chart.yaml index 38118f154..7b9453ac8 100755 --- a/stable/jupyter/Chart.yaml +++ b/stable/jupyter/Chart.yaml @@ -1,4 +1,4 @@ -version: 0.14.39 +version: 0.14.40 apiVersion: v1 appVersion: 3.4.8 name: jupyter diff --git a/stable/jupyter/templates/jupyter-deployment.yaml b/stable/jupyter/templates/jupyter-deployment.yaml index b7ad55e93..2617386a3 100644 --- a/stable/jupyter/templates/jupyter-deployment.yaml +++ b/stable/jupyter/templates/jupyter-deployment.yaml @@ -120,7 +120,7 @@ spec: {{- if .Values.presto }} {{- if and .Values.presto.keyBinary .Values.presto.certBinary }} - name: DATABASE_URL - value: presto://{{ .Values.v3io.username }}:{{ .Values.v3io.accessKey }}@{{ .Values.presto.hostname }}:443/{{ .Values.presto.catalog }}?protocol=https&requests_kwargs={{ printf "{\"verify\": \"%[1]s/tls.crt\", \"cert\": [\"%[1]s/tls.crt\", \"%[1]s/tls.key\"]}" .Values.presto.secretsMountPath | urlquery }} + value: presto://{{ .Values.v3io.username }}:{{ .Values.v3io.accessKey }}@{{ .Values.presto.hostname }}:443/{{ .Values.presto.catalog }}?protocol=https&requests_kwargs={{ printf "{\"verify\": \"%[1]s/tls.crt\", \"cert\": (\"%[1]s/tls.crt\", \"%[1]s/tls.key\")}" .Values.presto.secretsMountPath | urlquery }} {{- else }} - name: DATABASE_URL value: presto://{{ .Values.presto.hostname }}.{{ .Release.Namespace }}.svc:{{ .Values.presto.port }}/{{ .Values.presto.catalog }}