From 75a3988fc262f77d54a1672b4a583dd3b26b3a1f Mon Sep 17 00:00:00 2001 From: Sigmar Stefansson Date: Tue, 21 Nov 2023 16:07:33 +0000 Subject: [PATCH] use spottoken renewer from the datamechanics jupyter_server fork v2.5.0 (#166) * use sha in appversion and image tag --- charts/bigdata-notebook-workspace/Chart.yaml | 4 ++-- charts/bigdata-notebook-workspace/templates/deployment.yaml | 1 + charts/bigdata-notebook-workspace/values.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/bigdata-notebook-workspace/Chart.yaml b/charts/bigdata-notebook-workspace/Chart.yaml index 9fbe19e6..2a60c673 100644 --- a/charts/bigdata-notebook-workspace/Chart.yaml +++ b/charts/bigdata-notebook-workspace/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: bigdata-notebook-workspace description: A Helm chart for the Spot Big Data Notebook Workspace type: application -version: 0.0.5 -appVersion: 4.0.3 +version: 0.0.6 +appVersion: 3.6.6-ofas-d77bf82 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png sources: diff --git a/charts/bigdata-notebook-workspace/templates/deployment.yaml b/charts/bigdata-notebook-workspace/templates/deployment.yaml index 775576c5..ea6e7b96 100644 --- a/charts/bigdata-notebook-workspace/templates/deployment.yaml +++ b/charts/bigdata-notebook-workspace/templates/deployment.yaml @@ -58,6 +58,7 @@ spec: - --ServerApp.{{ $key | snakecase }}={{$value}} {{- end}} - --GatewayWebSocketConnection.kernel_ws_protocol='' + - --GatewayClient.gateway_token_renewer_class=jupyter_server.gateway.spottokenrenewer.SpotTokenRenewer env: {{- if .Values.pvc.create }} - name: "CHOWN_HOME" diff --git a/charts/bigdata-notebook-workspace/values.yaml b/charts/bigdata-notebook-workspace/values.yaml index 0713231e..d6269810 100644 --- a/charts/bigdata-notebook-workspace/values.yaml +++ b/charts/bigdata-notebook-workspace/values.yaml @@ -15,7 +15,7 @@ image: repository: public.ecr.aws/ocean-spark/bigdata-notebook pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: lab-3.6.3 + tag: lab-3.6.6-ofas-d77bf82 imagePullSecrets: - name: spot-bigdata-image-pull