Skip to content

Commit

Permalink
[DH-262] add PDF export and remove QtPNG export from datahub and r hub
Browse files Browse the repository at this point in the history
  • Loading branch information
felder committed May 30, 2024
1 parent 1e3fdb6 commit 3884501
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 3 additions & 7 deletions deployments/datahub/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ jupyterhub:
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2024-05-08
singleuser:
extraFiles:
remove-exporters:
mountPath: /etc/jupyter/jupyter_notebook_config.py
stringData: |
c.QtPNGExporter.enabled = False
extraEnv:
# Unset NotebookApp from hub/values. Necessary for recent lab versions.
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
Expand Down Expand Up @@ -117,12 +112,13 @@ jupyterhub:
mountPath: /home/jovyan/.rstudio
subPath: '{username}/.datahub-rstudio'
extraFiles:
# DH-164
# DH-164, DH-262
remove-exporters:
mountPath: /etc/jupyter/jupyter_notebook_config.py
stringData: |
c.QtPDFExporter.enabled = False
c.PDFExporter.enabled = False
c.PDFExporter.enabled = True
c.QtPNGExporter.enabled = False
memory:
guarantee: 512M
limit: 1G
Expand Down
5 changes: 3 additions & 2 deletions deployments/r/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ jupyterhub:

singleuser:
extraFiles:
# DH-216
# DH-216, re-add PDFExporter DH-262
remove-exporters:
mountPath: /etc/jupyter/jupyter_notebook_config.py
stringData: |
c.QtPDFExporter.enabled = False
c.PDFExporter.enabled = False
c.PDFExporter.enabled = True
c.QtPNGExporter.enabled = False
extraEnv:
# Unset NotebookApp from hub/values. Necessary for recent lab versions.
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
Expand Down

0 comments on commit 3884501

Please sign in to comment.