Skip to content
Snippets Groups Projects
values.template.yaml 8.48 KiB
# This file can update the JupyterHub Helm chart's default configuration values.
#
# For reference see the configuration reference and default values, but make
# sure to refer to the Helm chart version of interest to you!
#
# Introduction to YAML:     https://www.youtube.com/watch?v=cdLNKUoMc6c
# Chart config reference:   https://zero-to-jupyterhub.readthedocs.io/en/stable/resources/reference.html
# Chart default values:     https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/HEAD/jupyterhub/values.yaml
# Available chart versions: https://jupyterhub.github.io/helm-chart/
#

hub:
  config:
    CILogonOAuthenticator:
      client_id: $CILOGON_ID
      client_secret: $CILOGON_SECRET
      oauth_callback_url: https://csusb-hub-dev.nrp-nautilus.io/hub/oauth_callback
      username_claim: "email"
      admin_users: ["dvu@csusb.edu", "000065181@csusb.edu", "youngsu.kim@csusb.edu", "006501270@csusb.edu"]
      allowed_domains: ["csusb.edu", "gmail.com"]
      allowed_users:
        - 000065181@csusb.edu
        - 004793408@csusb.edu
        - 006501322@csusb.edu
        - 003574622@csusb.edu
        - 005795019@csusb.edu
        - 005061741@csusb.edu
        - 003087200@csusb.edu
        - 000030081@csusb.edu
        - dmishin@ucsd.edu
        - kcousins@csusb.edu	
        - doguhan.sundal@csusb.edu
        # CSE faculty
        - yunfei.hou@csusb.edu
        - 005788948@csusb.edu
        - jennifer.jin@csusb.edu
        - 006501218@csusb.edu
        - bilal.khan@csusb.edu
        - 006501257@csusb.edu
        # IDS faculty
        - nasrin.mohabbati@csusb.edu
        - 006497097@csusb.edu
        - sepideh.alavi@csusb.edu
        - 006501413@csusb.edu 
    JupyterHub:
      admin_access: true
      authenticator_class: cilogon

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

  # https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/1990
  # To use these .gitlab-ci.yml needs to be updated accordingly
  extraFiles:
    image_select_idp:
      mountPath: /usr/local/share/jupyterhub/static/select_idp_cilogon.png

    # Files in /usr/local/etc/jupyterhub/jupyterhub_config.d are
    # automatically loaded in alphabetical order of the final file
    # name when JupyterHub starts.

    # for dynamic resource allocation 
    custom_spawner:
      mountPath: /usr/local/etc/jupyterhub/jupyterhub_config.d/my_spawner.py
    # Custom profiles list for the spawner above
    custom_spawner_profile:
      mountPath: /etc/jupyterhub/custom/my_spawner.html

    # Additional custom html files