Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.17 KB

File metadata and controls

42 lines (35 loc) · 1.17 KB

Custom JupyterHub UI Templates for Coffea-casa AF

Basic Jupyterhub UI customization for the Coffea-casa AF.

Kubernetes Configuration

(based on configuration instructions)

Append the config below to your standard config to use the custom templates provided with this repo:

jupyterhub:
  hub:
    # clone custom JupyterHub templates into a volume
    initContainers:
      - name: git-clone-templates
        image: alpine/git
        args:
          - clone
          - --single-branch
          - --branch=main
          - --depth=1
          - --
          - https://github.com/CoffeaTeam/coffea-casa-custom-jupyterhub-templates.git
          - /etc/jupyterhub/custom
        securityContext:
          runAsUser: 0
        volumeMounts:
          - name: custom-templates
            mountPath: /etc/jupyterhub/custom
    extraVolumes:
      - name: custom-templates
        emptyDir: {}
    extraVolumeMounts:
      - name: custom-templates
        mountPath: /etc/jupyterhub/custom

    extraConfig:
      templates: |
        c.JupyterHub.template_paths = ['/etc/jupyterhub/custom/templates']