Skip to content

Commit d794c78

Browse files
author
Cilas Beltrame
committed
feat: update schema format
1 parent b33f4f5 commit d794c78

File tree

2 files changed

+4406
-1994
lines changed

2 files changed

+4406
-1994
lines changed

traefik-crds/values.schema.json

Lines changed: 63 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,65 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://traefik.io/traefik-crds-helm-chart.schema.json",
4-
"title": "Traefik CRDs Helm Chart",
5-
"description": "The Cloud Native Application Proxy",
6-
"type": "object",
7-
"properties": {
8-
"deleteOnUninstall": {
9-
"type": "boolean"
10-
},
11-
"enabled": {
12-
"type": "boolean"
13-
},
14-
"gatewayAPI": {
15-
"type": "boolean"
16-
},
17-
"gatewayAPIExperimental": {
18-
"type": "boolean"
19-
},
20-
"global": {
21-
"type": "object",
22-
"additionalProperties": true
23-
},
24-
"hub": {
25-
"type": "boolean"
26-
},
27-
"traefik": {
28-
"type": "boolean"
29-
}
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"additionalProperties": false,
4+
"properties": {
5+
"deleteOnUninstall": {
6+
"default": false,
7+
"description": "Set it to true if you want to uninstall CRDs when uninstalling this chart.\nBy default, CRDs will be kept so your custom resources will not be deleted accidentally.",
8+
"required": [],
9+
"title": "deleteOnUninstall",
10+
"type": "boolean"
3011
},
31-
"additionalProperties": false
32-
}
12+
"enabled": {
13+
"default": true,
14+
"description": "Field that can be used as a condition when this chart is a dependency.\nThis definition is only here as a placeholder such that it is included in the json schema.\nSee https://helm.sh/docs/chart_best_practices/dependencies/#conditions-and-tags for more info.",
15+
"required": [],
16+
"title": "enabled",
17+
"type": "boolean"
18+
},
19+
"gatewayAPI": {
20+
"default": false,
21+
"description": "Set it to true to install GatewayAPI CRDs.\nNeeded if you set providers.kubernetesGateway.enabled to true in main chart\nCannot be used together with gatewayAPIExperimental",
22+
"required": [],
23+
"title": "gatewayAPI",
24+
"type": "boolean"
25+
},
26+
"gatewayAPIExperimental": {
27+
"default": false,
28+
"description": "Set it to true to install experimental GatewayAPI CRDs.\nThis includes additional experimental features beyond the standard Gateway API\nCannot be used together with gatewayAPI",
29+
"required": [],
30+
"title": "gatewayAPIExperimental",
31+
"type": "boolean"
32+
},
33+
"global": {
34+
"additionalProperties": false,
35+
"description": "Global values\nThis definition is only here as a placeholder such that it is included in the json schema.",
36+
"required": [],
37+
"title": "global",
38+
"type": "object"
39+
},
40+
"hub": {
41+
"default": false,
42+
"description": "Set it to true to install Traefik Hub CRDs.\nNeeded if you set hub.enabled to true in main chart",
43+
"required": [],
44+
"title": "hub",
45+
"type": "boolean"
46+
},
47+
"traefik": {
48+
"default": true,
49+
"description": "Install Traefik CRDs by default",
50+
"required": [],
51+
"title": "traefik",
52+
"type": "boolean"
53+
}
54+
},
55+
"required": [
56+
"global",
57+
"enabled",
58+
"traefik",
59+
"gatewayAPI",
60+
"gatewayAPIExperimental",
61+
"hub",
62+
"deleteOnUninstall"
63+
],
64+
"type": "object"
65+
}

0 commit comments

Comments
 (0)