1
1
# This schema (a jsonschema in YAML format) is used to generate
2
2
# values.schema.json which is, when available, used by the helm CLI for client
3
3
# side validation by Helm of the chart's values before template rendering.
4
- #
5
- # We look to document everything we have default values for in values.yaml, but
6
- # we don't look to enforce the perfect validation logic within this file.
7
- #
8
- # ref: https://json-schema.org/learn/getting-started-step-by-step.html
9
- #
10
4
$schema : http://json-schema.org/draft-07/schema#
11
5
type : object
12
6
additionalProperties : false
@@ -23,40 +17,34 @@ required:
23
17
- aws-ce-grafana-backend
24
18
- global
25
19
properties :
26
- # cluster-autoscaler is a dependent helm chart, we rely on its schema
27
- # validation for values passed to it and are not imposing restrictions on them
28
- # in this helm chart.
20
+ # We don't control validation of dependent charts here
29
21
cluster-autoscaler :
30
22
type : object
31
23
additionalProperties : true
32
- # ingress-nginx is a dependent helm chart, we rely on its schema validation
33
- # for values passed to it and are not imposing restrictions on them in this
34
- # helm chart.
35
24
ingress-nginx :
36
25
type : object
37
26
additionalProperties : true
38
- # prometheus is a dependent helm chart, we rely on its schema validation for
39
- # values passed to it and are not imposing restrictions on them in this helm
40
- # chart.
41
27
prometheus :
42
28
type : object
43
29
additionalProperties : true
44
- # grafana is a dependent helm chart, we rely on its schema validation for
45
- # values passed to it and are not imposing restrictions on them in this helm
46
- # chart.
47
30
grafana :
48
31
type : object
49
32
additionalProperties : true
50
- # aws-ce-grafana-backend is a dependent helm chart, we rely on its schema
51
- # validation for values passed to it and are not imposing restrictions on them
52
- # in this helm chart.
53
33
aws-ce-grafana-backend :
54
34
type : object
55
35
additionalProperties : true
56
- # Enables https://github.com/yuvipanda/cryptnono/ to prevent cryptomining
57
36
cryptnono :
58
37
type : object
59
38
additionalProperties : true
39
+ gcpFilestoreBackups :
40
+ type : object
41
+ additionalProperties : true
42
+ global :
43
+ type : object
44
+ additionalProperties : true
45
+
46
+ # These provide values for objects we create, so we validate their schema
47
+ # to the best of our ability.
60
48
redirects :
61
49
type : object
62
50
additionalProperties : false
@@ -87,13 +75,6 @@ properties:
87
75
Relates to the HTTP Status code to use for the redirect.
88
76
89
77
Specify "redirect" for 302 (default), or "permanent" for 301.
90
-
91
- # nvidiaDevicePlugin is _not a dependent helm chart_. It is values directly
92
- # coupled with this helm chart and are influencing the rendering of templates
93
- # we provide as part of this helm chart.
94
- #
95
- # Due to that, we maintain a strict schema here but not elsewhere.
96
- #
97
78
nvidiaDevicePlugin :
98
79
type : object
99
80
additionalProperties : false
@@ -111,11 +92,6 @@ properties:
111
92
112
93
prometheusIngressAuthSecret :
113
94
type : object
114
- # prometheusIngressAuthSecret is _not a dependent helm chart_. It is values directly
115
- # coupled with this helm chart and are influencing the rendering of templates
116
- # we provide as part of this helm chart.
117
- #
118
- # Due to that, we maintain a strict schema here but not elsewhere.
119
95
additionalProperties : false
120
96
required :
121
97
- enabled
@@ -173,11 +149,3 @@ properties:
173
149
type : string
174
150
description : |
175
151
Name of the StorageClass to create
176
- # Enables https://github.com/2i2c-org/gcp-filestore-backups to regularly backup
177
- # GCP Filestore instances
178
- gcpFilestoreBackups :
179
- type : object
180
- additionalProperties : true
181
- global :
182
- type : object
183
- additionalProperties : true
0 commit comments