Skip to content

Commit

Permalink
basehub: avoid overriding template_vars
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Mar 8, 2023
1 parent a833016 commit 0a1be1a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,10 @@ jupyterhub:
extraConfig:
01-custom-theme: |
from z2jh import get_config
c.JupyterHub.template_paths = ['/usr/local/share/jupyterhub/custom_templates/']
c.JupyterHub.template_vars = {
c.JupyterHub.template_paths.extend(['/usr/local/share/jupyterhub/custom_templates/'])
c.JupyterHub.template_vars.update({
'custom': get_config('custom.homepage.templateVars')
}
})
02-custom-admin: |
from z2jh import get_config
from kubespawner import KubeSpawner
Expand Down

0 comments on commit 0a1be1a

Please sign in to comment.