Skip to content

Commit 36d5468

Browse files
committed
Update values schema
1 parent 15f0db4 commit 36d5468

1 file changed

Lines changed: 22 additions & 33 deletions

File tree

helm/jupyterhub-cost-monitoring/values.schema.yaml

Lines changed: 22 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ type: object
1616
additionalProperties: false
1717
required:
1818
# General configuration
19-
- global
20-
# Software configuration
21-
- envBasedConfig
19+
- global
20+
# Cluster name configuration
21+
- extraEnv
2222
# Deployment resource
23-
- image
23+
- image
2424
# Other resources
25-
- serviceAccount
26-
- service
27-
- ingress
28-
- networkPolicy
25+
- serviceAccount
26+
- service
27+
- ingress
28+
- networkPolicy
2929
properties:
3030
# Flag to conditionally install the chart
3131
# ---------------------------------------------------------------------------
@@ -39,32 +39,21 @@ properties:
3939
# ---------------------------------------------------------------------------
4040
#
4141
nameOverride:
42-
type: [string, "null"]
42+
type: [string, 'null']
4343
fullnameOverride:
44-
type: [string, "null"]
44+
type: [string, 'null']
4545
global:
4646
type: object
4747
additionalProperties: true
4848

49-
# Software configuration
50-
# ---------------------------------------------------------------------------
51-
#
52-
envBasedConfig:
53-
type: object
54-
additionalProperties: false
55-
required: [clusterName]
56-
properties:
57-
clusterName:
58-
type: string
59-
6049
# Deployment resource
6150
# ---------------------------------------------------------------------------
6251
#
6352
replicas:
6453
type: integer
6554
extraEnv:
6655
type: array
67-
image: &image
56+
image:
6857
type: object
6958
additionalProperties: false
7059
required: [repository, tag]
@@ -74,31 +63,31 @@ properties:
7463
tag:
7564
type: string
7665
pullPolicy:
77-
enum: [null, "", IfNotPresent, Always, Never]
66+
enum: [null, '', IfNotPresent, Always, Never]
7867
pullSecrets:
7968
type: array
80-
resources: &resources
69+
resources:
8170
type: object
8271
additionalProperties: true
83-
securityContext: &securityContext
72+
securityContext:
8473
type: object
8574
additionalProperties: true
86-
podSecurityContext: &podSecurityContext
75+
podSecurityContext:
8776
type: object
8877
additionalProperties: true
8978
podAnnotations: &labels-and-annotations
9079
type: object
9180
additionalProperties: false
9281
patternProperties:
93-
".*":
82+
.*:
9483
type: string
95-
nodeSelector: &nodeSelector
84+
nodeSelector:
9685
type: object
9786
additionalProperties: true
98-
affinity: &affinity
87+
affinity:
9988
type: object
10089
additionalProperties: true
101-
tolerations: &tolerations
90+
tolerations:
10291
type: array
10392

10493
# ServiceAccount resource
@@ -143,11 +132,11 @@ properties:
143132
type: boolean
144133
annotations: *labels-and-annotations
145134
ingressClassName:
146-
type: [string, "null"]
135+
type: [string, 'null']
147136
hosts:
148137
type: array
149138
pathSuffix:
150-
type: [string, "null"]
139+
type: [string, 'null']
151140
pathType:
152141
enum: [Prefix, Exact, ImplementationSpecific]
153142
tls:
@@ -168,7 +157,7 @@ properties:
168157
type: object
169158
additionalProperties: false
170159
required:
171-
- localGrafanaInstances
160+
- localGrafanaInstances
172161
properties:
173162
localGrafanaInstances:
174163
type: boolean

0 commit comments

Comments
 (0)