Skip to content

Commit

Permalink
feat: add environment variables to select a specific Dask cluster for…
Browse files Browse the repository at this point in the history
… the staging
  • Loading branch information
mcolinde committed Dec 20, 2024
1 parent df9468a commit 5daab54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/rs-server-staging/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions charts/rs-server-staging/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5daab54

Please sign in to comment.