-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #790 from byteMuncher0x/docs/minor-docs-update
docs: add detail to internal_ssl + fix typos
- Loading branch information
Showing
3 changed files
with
16 additions
and
4 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
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 |
---|---|---|
@@ -1,13 +1,25 @@ | ||
# Internal SSL | ||
|
||
JupyterHub 1.0 introduces internal_ssl configuration for encryption and authentication of all internal communication. | ||
JupyterHub 1.0 introduces the internal_ssl configuration for encryption and authentication of all internal communication via mutual TLS. | ||
|
||
Kubespawner can mount the internal_ssl certificates as Kubernetes secrets into the jupyter user's pod. | ||
If enabled, the Kubespawner will mount the internal_ssl certificates as Kubernetes secrets into the jupyter user's pod. | ||
|
||
## Setup | ||
|
||
To enable, use the following settings: | ||
|
||
``` | ||
c.JupyterHub.internal_ssl = True | ||
c.JupyterHub.spawner_class = 'kubespawner.KubeSpawner' | ||
``` | ||
|
||
Further configuration can be specified with the following (listed with their default values): | ||
|
||
``` | ||
c.KubeSpawner.secret_name_template = "jupyter-{username}{servername}" | ||
c.KubeSpawner.secret_mount_path = "/etc/jupyterhub/ssl/" | ||
``` | ||
|
||
The Kubespawner sets the `JUPYTERHUB_SSL_KEYFILE`, `JUPYTERHUB_SSL_CERTFILE` and `JUPYTERHUB_SSL_CLIENT_CA` environment variables, with the appropriate paths, on the user's notebook server. |