neoloc/jupyterhub #174

Merged
unkinben merged 5 commits from neoloc/jupyterhub into develop 2024-11-16 20:20:16 +11:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 61f5f1ce1f - Show all commits

View File

@ -17,7 +17,9 @@ class profiles::jupyter::jupyterhub (
String $ldap_bind_dn_template = 'cn={username},ou=people,ou=users,dc=main,dc=unkin,dc=net',
Boolean $ldap_use_ssl = false,
Array $ldap_allowed_groups = ['ou=jupyterhub_user,ou=groups,dc=main,dc=unkin,dc=net'],
Array $ldap_admin_groups = ['ou=jupyterhub_admin,ou=groups,dc=main,dc=unkin,dc=net'],
Array $ldap_admin_users = [],
String $docker_image = 'git.query.consul/unkin/almalinux8-jupyterinstance:latest',
String $docker_network = 'jupyterhub',
){
# ensure nodejs:20 is installed

View File

@ -39,5 +39,5 @@ c.LDAPAuthenticator.use_ssl = <%= @ldap_use_ssl ? 'True' : 'False' %>
# Restrict access to a specific LDAP group
c.LDAPAuthenticator.allowed_groups = <%= @ldap_allowed_groups.to_s %>
# Set an LDAP group as admins
c.LDAPAuthenticator.admin_groups = <%= @ldap_admin_groups.to_s %>
# List LDAP users as admins
c.LDAPAuthenticator.admin_users = <%= @ldap_admin_users.to_s %>