Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
"kestra-0.18.2.json",
"kestra-0.18.3.json",
"kestra-0.19.0.json",
"kustomization.json",
"label-commenter-config.json",
"launchsettings.json",
"lerna.json",
Expand Down
14 changes: 9 additions & 5 deletions src/schemas/json/kustomization.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/kustomization.json",
"$ref": "#/definitions/Kustomization",
"definitions": {
"ConfigMapArgs": {
Expand Down Expand Up @@ -141,6 +142,7 @@
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
Expand Down Expand Up @@ -444,7 +446,7 @@
{
"properties": {
"order": {
"enum": ["legacy"]
"const": "legacy"
},
"legacySortOptions": {
"properties": {
Expand All @@ -465,7 +467,7 @@
{
"properties": {
"order": {
"enum": ["fifo"]
"const": "fifo"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -501,6 +503,7 @@
"Labels": {
"properties": {
"pairs": {
"type": "object",
"description": "Pairs contains the key-value pairs for labels to add",
"patternProperties": {
".*": {
Expand Down Expand Up @@ -682,6 +685,7 @@
"description": "Refers to a Kubernetes object that the patch will be applied to. It must refer to a Kubernetes resource under the purview of this kustomization"
}
},
"type": "object",
"additionalProperties": false
},
"PatchesInlinePatch": {
Expand All @@ -698,6 +702,7 @@
"description": "Refers to a Kubernetes object that the patch will be applied to. It must refer to a Kubernetes resource under the purview of this kustomization"
}
},
"type": "object",
"additionalProperties": false
},
"ReplacementsInline": {
Expand Down Expand Up @@ -977,6 +982,5 @@
"additionalProperties": false,
"type": "object"
}
},
"id": "https://json.schemastore.org/kustomization.json"
}
}