Skip to content

Commit

Permalink
All root level nodes in JSON disallow arbitrary children nodes (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
iblutrifork authored Feb 13, 2024
1 parent f5551ea commit 338a85e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/cheetah-application/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "JSON schema for cheetah-application/values.yaml",
"type": "object",
"additionalProperties": false,
"required": [
"image",
"global",
Expand Down
11 changes: 10 additions & 1 deletion charts/flink-job/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "JSON schema for flink-job/values.yaml",
"type": "object",
"additionalProperties": false,
"allOf": [
{
"if": {
Expand Down Expand Up @@ -681,6 +682,14 @@
}
}
},
"localNetworkConfiguration": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"java17Compatability": {
"description": "Whether to add Java 17 compatability options. For details see https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/deployment/java_compatibility/#jdk-modularization and https://github.com/apache/flink/blob/release-1.18/flink-dist/src/main/resources/flink-conf.yaml#L19-L21",
"type": "boolean"
Expand Down Expand Up @@ -821,4 +830,4 @@
]
}
}
}
}
4 changes: 3 additions & 1 deletion charts/image-automation/values.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"$schema": "http://json-schema.org/schema#",
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "JSON schema for image-automation/values.yaml",
"type": "object",
"additionalProperties": false,
"required": [
"image"
],
Expand Down
1 change: 1 addition & 0 deletions charts/opensearchrole/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "JSON schema for opensearchrole/values.yaml",
"type": "object",
"additionalProperties": false,
"properties": {
"roleNamePrefix": {
"type": "string"
Expand Down

0 comments on commit 338a85e

Please sign in to comment.