Skip to content

Commit acfe365

Browse files
committed
helm-schema
1 parent f6b00b9 commit acfe365

6 files changed

Lines changed: 324 additions & 4117 deletions

File tree

charts/defguard-gateway/values.schema.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"additionalEnvFromConfigMap": {
66
"default": "",
77
"description": "defguard-gateway pod additional ENV from configmap",
8+
"required": [],
89
"title": "additionalEnvFromConfigMap",
910
"type": "string"
1011
},
@@ -18,18 +19,21 @@
1819
"existingTokenSecret": {
1920
"default": "",
2021
"description": "Secret to get the token from",
22+
"required": [],
2123
"title": "existingTokenSecret",
2224
"type": "string"
2325
},
2426
"existingTokenSecretKey": {
2527
"default": "",
2628
"description": "Key to extract the token from in existingTokenSecret",
29+
"required": [],
2730
"title": "existingTokenSecretKey",
2831
"type": "string"
2932
},
3033
"fullnameOverride": {
3134
"default": "",
3235
"description": "defguard-gateway full name override",
36+
"required": [],
3337
"title": "fullnameOverride",
3438
"type": "string"
3539
},
@@ -42,6 +46,7 @@
4246
"grpcUrl": {
4347
"default": "",
4448
"description": "Defguard GRPC URL, e.g.: defguard-grpc.mycompany.com",
49+
"required": [],
4550
"title": "grpcUrl",
4651
"type": "string"
4752
},
@@ -51,6 +56,7 @@
5156
"properties": {
5257
"enabled": {
5358
"default": false,
59+
"required": [],
5460
"title": "enabled",
5561
"type": "boolean"
5662
},
@@ -59,21 +65,25 @@
5965
"properties": {
6066
"failureThreshold": {
6167
"default": 3,
68+
"required": [],
6269
"title": "failureThreshold",
6370
"type": "integer"
6471
},
6572
"initialDelaySeconds": {
6673
"default": 30,
74+
"required": [],
6775
"title": "initialDelaySeconds",
6876
"type": "integer"
6977
},
7078
"periodSeconds": {
7179
"default": 10,
80+
"required": [],
7281
"title": "periodSeconds",
7382
"type": "integer"
7483
},
7584
"timeoutSeconds": {
7685
"default": 5,
86+
"required": [],
7787
"title": "timeoutSeconds",
7888
"type": "integer"
7989
}
@@ -89,6 +99,7 @@
8999
},
90100
"port": {
91101
"default": 35053,
102+
"required": [],
92103
"title": "port",
93104
"type": "integer"
94105
},
@@ -97,21 +108,25 @@
97108
"properties": {
98109
"failureThreshold": {
99110
"default": 3,
111+
"required": [],
100112
"title": "failureThreshold",
101113
"type": "integer"
102114
},
103115
"initialDelaySeconds": {
104116
"default": 10,
117+
"required": [],
105118
"title": "initialDelaySeconds",
106119
"type": "integer"
107120
},
108121
"periodSeconds": {
109122
"default": 10,
123+
"required": [],
110124
"title": "periodSeconds",
111125
"type": "integer"
112126
},
113127
"timeoutSeconds": {
114128
"default": 5,
129+
"required": [],
115130
"title": "timeoutSeconds",
116131
"type": "integer"
117132
}
@@ -141,16 +156,19 @@
141156
"properties": {
142157
"pullPolicy": {
143158
"default": "IfNotPresent",
159+
"required": [],
144160
"title": "pullPolicy",
145161
"type": "string"
146162
},
147163
"repository": {
148164
"default": "ghcr.io/defguard/gateway",
165+
"required": [],
149166
"title": "repository",
150167
"type": "string"
151168
},
152169
"tag": {
153170
"default": "",
171+
"required": [],
154172
"title": "tag",
155173
"type": "string"
156174
}
@@ -168,18 +186,21 @@
168186
"items": {
169187
"required": []
170188
},
189+
"required": [],
171190
"title": "imagePullSecrets",
172191
"type": "array"
173192
},
174193
"logLevel": {
175194
"default": "debug",
176195
"description": "rust log level, default is debug",
196+
"required": [],
177197
"title": "logLevel",
178198
"type": "string"
179199
},
180200
"nameOverride": {
181201
"default": "",
182202
"description": "defguard-gateway name override",
203+
"required": [],
183204
"title": "nameOverride",
184205
"type": "string"
185206
},
@@ -214,6 +235,7 @@
214235
"replicaCount": {
215236
"default": 1,
216237
"description": "defguard-gateway pod replica count",
238+
"required": [],
217239
"title": "replicaCount",
218240
"type": "integer"
219241
},
@@ -230,6 +252,7 @@
230252
"properties": {
231253
"allowPrivilegeEscalation": {
232254
"default": true,
255+
"required": [],
233256
"title": "allowPrivilegeEscalation",
234257
"type": "boolean"
235258
},
@@ -240,14 +263,17 @@
240263
"items": {
241264
"anyOf": [
242265
{
266+
"required": [],
243267
"type": "string"
244268
},
245269
{
270+
"required": [],
246271
"type": "string"
247272
}
248273
],
249274
"required": []
250275
},
276+
"required": [],
251277
"title": "add",
252278
"type": "array"
253279
}
@@ -260,6 +286,7 @@
260286
},
261287
"privileged": {
262288
"default": true,
289+
"required": [],
263290
"title": "privileged",
264291
"type": "boolean"
265292
}
@@ -293,11 +320,13 @@
293320
},
294321
"port": {
295322
"default": 32140,
323+
"required": [],
296324
"title": "port",
297325
"type": "integer"
298326
},
299327
"type": {
300328
"default": "ClusterIP",
329+
"required": [],
301330
"title": "type",
302331
"type": "string"
303332
}
@@ -330,6 +359,7 @@
330359
},
331360
"create": {
332361
"default": true,
362+
"required": [],
333363
"title": "create",
334364
"type": "boolean"
335365
}
@@ -344,12 +374,14 @@
344374
"statsPeriod": {
345375
"default": 30,
346376
"description": "Defines how often (in seconds) should interface statistics be sent to Defguard server",
377+
"required": [],
347378
"title": "statsPeriod",
348379
"type": "integer"
349380
},
350381
"token": {
351382
"default": "",
352383
"description": "Token from Defguard app to secure gRPC connection, available on network page.\nIt is not recommended to use this. Create a secret yourself and use existingTokenSecret instead",
384+
"required": [],
353385
"title": "token",
354386
"type": "string"
355387
},
@@ -358,12 +390,14 @@
358390
"items": {
359391
"required": []
360392
},
393+
"required": [],
361394
"title": "tolerations",
362395
"type": "array"
363396
},
364397
"userspace": {
365398
"default": "false",
366-
"description": "Use userspace wireguard implementation, useful on systems without native wireguard support. Set to true/false",
399+
"description": "yaml-language-server: $schema=values.schema.json\nUse userspace wireguard implementation, useful on systems without native wireguard support. Set to true/false",
400+
"required": [],
367401
"title": "userspace",
368402
"type": "string"
369403
}

charts/defguard-gateway/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# yaml-language-server: $schema=values.schema.json
23
# Use userspace wireguard implementation, useful on systems without native wireguard support. Set to true/false
34
userspace: "false"
45
# Defguard GRPC URL, e.g.: defguard-grpc.mycompany.com

0 commit comments

Comments
 (0)