-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathvalues.schema.json
More file actions
489 lines (489 loc) · 18.2 KB
/
values.schema.json
File metadata and controls
489 lines (489 loc) · 18.2 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
{
"$defs": {
"helm-values": {
"additionalProperties": false,
"properties": {
"acceptTerms": {
"$ref": "#/$defs/helm-values.acceptTerms"
},
"affinity": {
"$ref": "#/$defs/helm-values.affinity"
},
"authentication": {
"$ref": "#/$defs/helm-values.authentication"
},
"config": {
"$ref": "#/$defs/helm-values.config"
},
"extraArgs": {
"$ref": "#/$defs/helm-values.extraArgs"
},
"fullnameOverride": {
"$ref": "#/$defs/helm-values.fullnameOverride"
},
"global": {
"$ref": "#/$defs/helm-values.global"
},
"http_proxy": {
"$ref": "#/$defs/helm-values.http_proxy"
},
"https_proxy": {
"$ref": "#/$defs/helm-values.https_proxy"
},
"image": {
"$ref": "#/$defs/helm-values.image"
},
"imageNamespace": {
"$ref": "#/$defs/helm-values.imageNamespace"
},
"imagePullSecrets": {
"$ref": "#/$defs/helm-values.imagePullSecrets"
},
"imageRegistry": {
"$ref": "#/$defs/helm-values.imageRegistry"
},
"metrics": {
"$ref": "#/$defs/helm-values.metrics"
},
"nameOverride": {
"$ref": "#/$defs/helm-values.nameOverride"
},
"no_proxy": {
"$ref": "#/$defs/helm-values.no_proxy"
},
"nodeSelector": {
"$ref": "#/$defs/helm-values.nodeSelector"
},
"podAnnotations": {
"$ref": "#/$defs/helm-values.podAnnotations"
},
"podDisruptionBudget": {
"$ref": "#/$defs/helm-values.podDisruptionBudget"
},
"podLabels": {
"$ref": "#/$defs/helm-values.podLabels"
},
"podSecurityContext": {
"$ref": "#/$defs/helm-values.podSecurityContext"
},
"pprof": {
"$ref": "#/$defs/helm-values.pprof"
},
"replicaCount": {
"$ref": "#/$defs/helm-values.replicaCount"
},
"resources": {
"$ref": "#/$defs/helm-values.resources"
},
"securityContext": {
"$ref": "#/$defs/helm-values.securityContext"
},
"serviceAccount": {
"$ref": "#/$defs/helm-values.serviceAccount"
},
"tolerations": {
"$ref": "#/$defs/helm-values.tolerations"
},
"volumeMounts": {
"$ref": "#/$defs/helm-values.volumeMounts"
},
"volumes": {
"$ref": "#/$defs/helm-values.volumes"
}
},
"type": "object"
},
"helm-values.acceptTerms": {
"default": false,
"description": "Must be set to indicate that you have read and accepted the CyberArk Terms of Service. If false, the helm chart will fail to install and will print a message with instructions on how to accept the TOS.",
"type": "boolean"
},
"helm-values.affinity": {
"default": {},
"type": "object"
},
"helm-values.authentication": {
"additionalProperties": false,
"properties": {
"secretName": {
"$ref": "#/$defs/helm-values.authentication.secretName"
}
},
"type": "object"
},
"helm-values.authentication.secretName": {
"default": "agent-credentials",
"type": "string"
},
"helm-values.config": {
"additionalProperties": false,
"properties": {
"clusterDescription": {
"$ref": "#/$defs/helm-values.config.clusterDescription"
},
"clusterName": {
"$ref": "#/$defs/helm-values.config.clusterName"
},
"excludeAnnotationKeysRegex": {
"$ref": "#/$defs/helm-values.config.excludeAnnotationKeysRegex"
},
"excludeLabelKeysRegex": {
"$ref": "#/$defs/helm-values.config.excludeLabelKeysRegex"
},
"period": {
"$ref": "#/$defs/helm-values.config.period"
},
"sendSecretValues": {
"$ref": "#/$defs/helm-values.config.sendSecretValues"
}
},
"type": "object"
},
"helm-values.config.clusterDescription": {
"default": "",
"description": "A short description of the cluster where the agent is deployed (optional).\n\nThis description will be associated with the data that the agent uploads to the Discovery and Context service. The description may include contact information such as the email address of the cluster administrator, so that any problems and risks identified by the Discovery and Context service can be communicated to the people responsible for the affected secrets.",
"type": "string"
},
"helm-values.config.clusterName": {
"default": "",
"description": "A human readable name for the cluster where the agent is deployed (optional).\n\nThis cluster name will be associated with the data that the agent uploads to the Discovery and Context service. If empty (the default), the service account name will be used instead.",
"type": "string"
},
"helm-values.config.excludeAnnotationKeysRegex": {
"default": [],
"description": "You can configure the agent to exclude some annotations or labels from being pushed . All Kubernetes objects are affected. The objects are still pushed, but the specified annotations and labels are removed before being pushed.\n\nDots is the only character that needs to be escaped in the regex. Use either double quotes with escaped single quotes or unquoted strings for the regex to avoid YAML parsing issues with `\\.`.\n\nExample: excludeAnnotationKeysRegex: ['^kapp\\.k14s\\.io/original.*']",
"items": {},
"type": "array"
},
"helm-values.config.excludeLabelKeysRegex": {
"default": [],
"items": {},
"type": "array"
},
"helm-values.config.period": {
"default": "12h0m0s",
"description": "Push data every 12 hours unless changed.",
"type": "string"
},
"helm-values.config.sendSecretValues": {
"default": true,
"description": "Enable sending of Secret values to CyberArk in addition to metadata. Metadata is always sent, but the actual values of Secrets are not sent by default. When enabled, Secret data is encrypted using envelope encryption using a key managed by CyberArk, fetched from the Discovery and Context service.",
"type": "boolean"
},
"helm-values.extraArgs": {
"default": [],
"description": "extraArgs:\n- --logging-format=json\n- --log-level=6 # To enable HTTP request logging",
"items": {},
"type": "array"
},
"helm-values.fullnameOverride": {
"default": "",
"type": "string"
},
"helm-values.global": {
"description": "Global values shared across all (sub)charts"
},
"helm-values.http_proxy": {
"description": "Configures the HTTP_PROXY environment variable where a HTTP proxy is required.",
"type": "string"
},
"helm-values.https_proxy": {
"description": "Configures the HTTPS_PROXY environment variable where a HTTP proxy is required.",
"type": "string"
},
"helm-values.image": {
"additionalProperties": false,
"properties": {
"digest": {
"$ref": "#/$defs/helm-values.image.digest"
},
"name": {
"$ref": "#/$defs/helm-values.image.name"
},
"pullPolicy": {
"$ref": "#/$defs/helm-values.image.pullPolicy"
},
"registry": {
"$ref": "#/$defs/helm-values.image.registry"
},
"repository": {
"$ref": "#/$defs/helm-values.image.repository"
},
"tag": {
"$ref": "#/$defs/helm-values.image.tag"
}
},
"type": "object"
},
"helm-values.image.digest": {
"default": "",
"description": "Override the image digest to deploy by setting this variable. If set together with `image.tag`, the rendered image will include both tag and digest.",
"type": "string"
},
"helm-values.image.name": {
"default": "disco-agent",
"description": "The image name for the Discovery Agent.\nThis is used (together with `imageRegistry` and `imageNamespace`) to construct the full image reference.",
"type": "string"
},
"helm-values.image.pullPolicy": {
"default": "IfNotPresent",
"description": "This sets the pull policy for images.",
"type": "string"
},
"helm-values.image.registry": {
"description": "Deprecated: per-component registry prefix.\n\nIf set, this value is *prepended* to the image repository that the chart would otherwise render. This applies both when `image.repository` is set and when the repository is computed from\n`imageRegistry` + `imageNamespace` + `image.name`.\n\nThis can produce \"double registry\" style references such as\n`legacy.example.io/quay.io/jetstack/...`. Prefer using the global\n`imageRegistry`/`imageNamespace` values.",
"type": "string"
},
"helm-values.image.repository": {
"default": "",
"description": "Full repository override (takes precedence over `imageRegistry`, `imageNamespace`, and `image.name`).\nExample: quay.io/jetstack/disco-agent",
"type": "string"
},
"helm-values.image.tag": {
"default": "",
"description": "Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion is used.",
"type": "string"
},
"helm-values.imageNamespace": {
"default": "jetstack",
"description": "The repository namespace used for disco-agent images by default.\nExamples:\n- jetstack\n- custom-namespace",
"type": "string"
},
"helm-values.imagePullSecrets": {
"default": [],
"description": "This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
"items": {},
"type": "array"
},
"helm-values.imageRegistry": {
"default": "quay.io",
"description": "The container registry used for disco-agent images by default. This can include path prefixes (e.g. \"artifactory.example.com/docker\").",
"type": "string"
},
"helm-values.metrics": {
"additionalProperties": false,
"properties": {
"enabled": {
"$ref": "#/$defs/helm-values.metrics.enabled"
},
"podmonitor": {
"$ref": "#/$defs/helm-values.metrics.podmonitor"
}
},
"type": "object"
},
"helm-values.metrics.enabled": {
"default": true,
"description": "Enable the metrics server.\nIf false, the metrics server will be disabled and the other metrics fields below will be ignored.",
"type": "boolean"
},
"helm-values.metrics.podmonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.annotations"
},
"enabled": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.enabled"
},
"endpointAdditionalProperties": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.endpointAdditionalProperties"
},
"honorLabels": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.honorLabels"
},
"interval": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.interval"
},
"labels": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.labels"
},
"namespace": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.namespace"
},
"prometheusInstance": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.prometheusInstance"
},
"scrapeTimeout": {
"$ref": "#/$defs/helm-values.metrics.podmonitor.scrapeTimeout"
}
},
"type": "object"
},
"helm-values.metrics.podmonitor.annotations": {
"default": {},
"description": "Additional annotations to add to the PodMonitor.",
"type": "object"
},
"helm-values.metrics.podmonitor.enabled": {
"default": false,
"description": "Create a PodMonitor to add the metrics to Prometheus, if you are using Prometheus Operator. See https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1.PodMonitor",
"type": "boolean"
},
"helm-values.metrics.podmonitor.endpointAdditionalProperties": {
"default": {},
"description": "EndpointAdditionalProperties allows setting additional properties on the endpoint such as relabelings, metricRelabelings etc.\n\nFor example:\nendpointAdditionalProperties:\n relabelings:\n - action: replace\n sourceLabels:\n - __meta_kubernetes_pod_node_name\n targetLabel: instance",
"type": "object"
},
"helm-values.metrics.podmonitor.honorLabels": {
"default": false,
"description": "Keep labels from scraped data, overriding server-side labels.",
"type": "boolean"
},
"helm-values.metrics.podmonitor.interval": {
"default": "60s",
"description": "The interval to scrape metrics.",
"type": "string"
},
"helm-values.metrics.podmonitor.labels": {
"default": {},
"description": "Additional labels to add to the PodMonitor.",
"type": "object"
},
"helm-values.metrics.podmonitor.namespace": {
"description": "The namespace that the pod monitor should live in.\nDefaults to the disco-agent namespace.",
"type": "string"
},
"helm-values.metrics.podmonitor.prometheusInstance": {
"default": "default",
"description": "Specifies the `prometheus` label on the created PodMonitor. This is used when different Prometheus instances have label selectors matching different PodMonitors.",
"type": "string"
},
"helm-values.metrics.podmonitor.scrapeTimeout": {
"default": "30s",
"description": "The timeout before a metrics scrape fails.",
"type": "string"
},
"helm-values.nameOverride": {
"default": "",
"description": "This is to override the chart name.",
"type": "string"
},
"helm-values.no_proxy": {
"description": "Configures the NO_PROXY environment variable where a HTTP proxy is required, but certain domains should be excluded.",
"type": "string"
},
"helm-values.nodeSelector": {
"default": {},
"type": "object"
},
"helm-values.podAnnotations": {
"default": {},
"description": "This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
"type": "object"
},
"helm-values.podDisruptionBudget": {
"default": {
"enabled": false
},
"description": "Configure a PodDisruptionBudget for the agent's Deployment. If running with multiple replicas, consider setting podDisruptionBudget.enabled to true.",
"type": "object"
},
"helm-values.podLabels": {
"default": {},
"description": "This is for setting Kubernetes Labels to a Pod.\nFor more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
"type": "object"
},
"helm-values.podSecurityContext": {
"default": {},
"type": "object"
},
"helm-values.pprof": {
"additionalProperties": false,
"properties": {
"enabled": {
"$ref": "#/$defs/helm-values.pprof.enabled"
}
},
"type": "object"
},
"helm-values.pprof.enabled": {
"default": false,
"description": "Enable profiling with the pprof endpoint",
"type": "boolean"
},
"helm-values.replicaCount": {
"default": 1,
"description": "This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
"type": "number"
},
"helm-values.resources": {
"default": {},
"type": "object"
},
"helm-values.securityContext": {
"default": {
"allowPrivilegeEscalation": false,
"capabilities": {
"drop": [
"ALL"
]
},
"readOnlyRootFilesystem": true,
"runAsNonRoot": true,
"seccompProfile": {
"type": "RuntimeDefault"
}
},
"description": "Add Container specific SecurityContext settings to the container. Takes precedence over `podSecurityContext` when set. See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container",
"type": "object"
},
"helm-values.serviceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"$ref": "#/$defs/helm-values.serviceAccount.annotations"
},
"automount": {
"$ref": "#/$defs/helm-values.serviceAccount.automount"
},
"create": {
"$ref": "#/$defs/helm-values.serviceAccount.create"
},
"name": {
"$ref": "#/$defs/helm-values.serviceAccount.name"
}
},
"type": "object"
},
"helm-values.serviceAccount.annotations": {
"default": {},
"description": "Annotations to add to the service account",
"type": "object"
},
"helm-values.serviceAccount.automount": {
"default": true,
"description": "Automatically mount a ServiceAccount's API credentials?",
"type": "boolean"
},
"helm-values.serviceAccount.create": {
"default": true,
"description": "Specifies whether a service account should be created",
"type": "boolean"
},
"helm-values.serviceAccount.name": {
"default": "",
"description": "The name of the service account to use.\nIf not set and create is true, a name is generated using the fullname template",
"type": "string"
},
"helm-values.tolerations": {
"default": [],
"items": {},
"type": "array"
},
"helm-values.volumeMounts": {
"default": [],
"description": "Additional volumeMounts on the output Deployment definition.",
"items": {},
"type": "array"
},
"helm-values.volumes": {
"default": [],
"description": "Additional volumes on the output Deployment definition.",
"items": {},
"type": "array"
}
},
"$ref": "#/$defs/helm-values",
"$schema": "http://json-schema.org/draft-07/schema#"
}