From 5daab540f3a4753be0bc3bc8c65ed28caf5035b2 Mon Sep 17 00:00:00 2001 From: mcolinde Date: Fri, 20 Dec 2024 14:58:19 +0100 Subject: [PATCH] feat: add environment variables to select a specific Dask cluster for the staging --- charts/rs-server-staging/templates/deployment.yaml | 2 ++ charts/rs-server-staging/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/rs-server-staging/templates/deployment.yaml b/charts/rs-server-staging/templates/deployment.yaml index 763a4af..1b4810a 100644 --- a/charts/rs-server-staging/templates/deployment.yaml +++ b/charts/rs-server-staging/templates/deployment.yaml @@ -61,6 +61,8 @@ spec: name: {{ $v.type }}-{{ $k }} {{- end }} env: + - name: RSPY_DASK_STAGING_CLUSTER_NAME + value: {{ .Values.app.clusterName }} - name: RSPY_UAC_CHECK_URL value: {{ .Values.app.uacUrl }} - name: RSPY_UAC_HOMEPAGE diff --git a/charts/rs-server-staging/values.yaml b/charts/rs-server-staging/values.yaml index b9b5352..a567c25 100644 --- a/charts/rs-server-staging/values.yaml +++ b/charts/rs-server-staging/values.yaml @@ -55,6 +55,8 @@ dask: gateway_auth_type: jupyterhub # -- Jupyter API Token when dask.jupyterhub=jupyterhub jupyterhub_api_token: JUPYTER_API_TOKEN_HERE + # -- Dask cluster name for staging + clusterName: dask-staging probe: