-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow jupyterhub.overrides in qhub-config.yaml (#930)
* allow jupyterhub.overrides in qhub-config.yaml * Try helm 0.11.1 and hub 1.5.0 * Try 1.2.0 * docs - jupyterhub helm overrides / keycloak docs * networkPolicy disabled for z2jh Helm Chart * vale fixes * fix broken links * remove oauthcallbacks from docs
- Loading branch information
Showing
27 changed files
with
141 additions
and
82 deletions.
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,20 @@ | ||
# JupyterHub | ||
|
||
QHub has the JupyterHub project at its core. | ||
|
||
Within the `qhub deploy` step, JupyterHub is installed using the [Zero2JupyterHub Helm package](https://zero-to-jupyterhub.readthedocs.io/). | ||
|
||
It is possible to specify Helm overrides (i.e. your own values for selected fields in the JupyterHub deployment's `values.yaml` file) from the `qhub-config.yaml` file. However, be aware that this may conflict with values that are needed to be set in a certain way in order for QHub to operate correctly. | ||
|
||
To set a Helm override, for example enabling auth state: | ||
|
||
``` | ||
jupyterhub: | ||
overrides: | ||
hub: | ||
config: | ||
Authenticator: | ||
enable_auth_state: true | ||
``` | ||
|
||
Where it is possible to influence a value using 'native' QHub configuration, you should use that as a preference. For example, you would not set `jupyterhub.overrides.hub.image.name` to use a custom JupyterHub Docker image. Instead you would set `default_images.jupyterhub`. |
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,29 @@ | ||
# Keycloak | ||
|
||
QHub includes a deployment of [Keycloak](https://www.keycloak.org/documentation.html) to centralise user management. | ||
|
||
Within the `qhub deploy` step, Keycloak is installed using the [Helm chart](https://github.com/codecentric/helm-charts/tree/master/charts/keycloak). | ||
|
||
It is possible to specify Helm overrides (i.e. your own values for selected fields in the Keycloak deployment's `values.yaml` file) from the `qhub-config.yaml` file. However, be aware that this may conflict with values that are needed to be set in a certain way in order for QHub to operate correctly. | ||
|
||
To set a Helm override, for example: | ||
|
||
``` | ||
security: | ||
keycloak: | ||
initial_root_password: password123 | ||
overrides: | ||
extraEnv: | | ||
- name: KEYCLOAK_DEFAULT_THEME | ||
value: entqhubtheme | ||
- name: KEYCLOAK_WELCOME_THEME | ||
value: entqhubtheme | ||
- name: PROXY_ADDRESS_FORWARDING | ||
value: "true" | ||
image: | ||
repository: dockerusername/my-qhub-keycloak | ||
``` | ||
|
||
If you do set `overrides.extraEnv` as above, you must remember to include `PROXY_ADDRESS_FORWARDING=true`. Otherwise, the Keycloak deployment will not work as you will have overridden an important default Helm value that is required by QHub. | ||
|
||
To find out more about using Keycloak in QHub, see [Installation - Login](../installation/login.md) |
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
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
Oops, something went wrong.