-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathschema.yaml
78 lines (67 loc) · 2.14 KB
/
schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# This schema (a jsonschema in YAML format) is used to generate
# values.schema.json which is packaged with the Helm chart for client side
# validation by Helm of values before template rendering.
#
# This schema is also used by our documentation system to build the
# configuration reference section based on the description fields. See
# doc/source/conf.py for that logic!
#
# We look to document everything we have default values for in values.yaml, but
# we don't look to enforce the perfect validation logic within this file.
#
# ref: https://json-schema.org/learn/getting-started-step-by-step.html
#
$schema": http://json-schema.org/draft-07/schema#
type: object
additionalProperties: false
required:
- ssh
- sftp
- global
properties:
hubUrl:
type: [string, "null"]
description: TODO
hostKey:
type: [string, "null"]
description: |
This private SSH key is automatically generated unless explicitly set. It
is used by the jupyterhub-ssh and jupyterhub-sftp pods to encrypt outbound
traffic via SSH.
fullnameOverride:
type: [string, "null"]
description: TODO
nameOverride:
type: [string, "null"]
description: TODO
ssh:
type: object
description: TODO
properties:
config:
type: object
description: |
The Jupyter ecosystem's Python classes expose configuration through
[_traitlets_](https://traitlets.readthedocs.io/en/stable/), and this
Helm chart config represented as _static_ YAML values will be directly
mapped to updating such traitlet configuration.
__Example__
If you inspect documentation for JupyterHubSSH the Python class to
describing it can be configured like:
```python
c.JupyterHubSSH.debug = true
```
Then in this Helm chart, the equivalent configuration would be like
this:
```yaml
hub:
config:
JupyterHubSSH:
debug: true
```
sftp:
type: object
description: TODO
global:
type: object
description: Global scoped config for all Helm charts to read.