-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The motivation for adding a dedicated chart configuration is that hub.config.JupyterHub.load_roles would end up being overridden easily if configured from multiple config files. So, having a dictionary configuration for the same thing can help.
- Loading branch information
1 parent
8bbaa3d
commit 13474af
Showing
6 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This config file is useful in the upgrade tests, where we upgrade from | ||
# either the latest stable chart or the latest dev release of the chart. This | ||
# config is only applied to the chart we upgrade to. It helps us handle | ||
# situations when we add new configuration options that would fail with a schema | ||
# validation error in the previous chart versions. | ||
# | ||
# Note that one could think that it would be possible to have dev-config.yaml | ||
# include this config and then pass --set hub.some-option=null to null it out | ||
# when it must not be passed, but that still triggers schema validation errors. | ||
# | ||
hub: | ||
# FIXME: move loadRoles to dev-config.yaml after 2.0.0 is released. | ||
loadRoles: | ||
test-role-1: | ||
description: Access to users' information and group membership | ||
scopes: [users, groups] | ||
users: [cyclops, gandalf] | ||
services: [test] | ||
groups: [cats] | ||
test-role-2-explicit-name: | ||
name: test-role-2 | ||
description: Access to users' information and group membership | ||
scopes: [users, groups] | ||
users: [cyclops, gandalf] | ||
services: [test] | ||
groups: [cats] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters