Skip to content

Commit

Permalink
[Jupyter] Pass certificates as a tuple for compatibility with python …
Browse files Browse the repository at this point in the history
…requests>=2.32 (#1042)
  • Loading branch information
gtopper authored Nov 26, 2024
1 parent d4f7171 commit 45801b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/jupyter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.14.39
version: 0.14.40
apiVersion: v1
appVersion: 3.4.8
name: jupyter
Expand Down
2 changes: 1 addition & 1 deletion stable/jupyter/templates/jupyter-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 45801b2

Please sign in to comment.