Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
guides
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INFN Cloud
guides
Merge requests
!29
Iam group change
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Iam group change
iam-group-change
into
master
Overview
1
Commits
4
Pipelines
0
Changes
2
All threads resolved!
Hide all comments
Merged
Carmelo Pellegrino
requested to merge
iam-group-change
into
master
10 months ago
Overview
1
Commits
4
Pipelines
0
Changes
2
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
master
version 2
fa61b45f
10 months ago
version 1
5d1451d7
10 months ago
master (base)
and
latest version
latest version
b63226fa
4 commits,
10 months ago
version 2
fa61b45f
3 commits,
10 months ago
version 1
5d1451d7
2 commits,
10 months ago
2 files
+
90
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
source/users_guides/sysadmin/compute/jh_with_persistence.rst
+
38
−
0
Options
@@ -190,3 +190,41 @@ On successful completion ("CREATE_COMPLETE"),
:alt: Step 4
Use the reported IP address to connect to the services you deployed.
How to change the authorized IAM group
======================================
If you deployed an instance of JupyterHub with persistence of Notebooks and
want to change the name of the IAM group that users must be members of to have
access granted, you need to update the file located in
``/usr/local/share/dodasts/jupyterhub/compose.yaml``. Here is an example of its
content:
.. code-block:: yaml
version: "3.9"
services:
jupyterhub:
depends_on:
- http_proxy
[...]
environment:
- [...]
- OAUTH_GROUPS=users/example admins/example
- ADMIN_OAUTH_GROUPS=admins/example
- [...]
In the example, the ``OAUTH_GROUPS`` environment variable is used to define the
IAM groups of users that granted user-role access within the JupyterHub
instance, while the ``ADMIN_OAUTH_GROUPS`` environment variable defines the IAM
group of users with admin-role access. Multiple groups can be defined,
separated by a space `` `` character.
Furthermore, to make the change effective, a restart of the service has to be
performed:
.. code-block:: bash
cd /usr/local/share/dodasts/jupyterhub/
docker-compose down || docker compose down
docker-compose up -d || docker compose up -d
Loading