Skip to content

Commit

Permalink
chore(schema): update
Browse files Browse the repository at this point in the history
  • Loading branch information
eFAILution committed May 10, 2024
1 parent a6b676f commit cabdaaa
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions uds.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@
"type": "string",
"description": "Description of the Zarf package"
},
"images": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of images included in the Zarf package"
},
"repository": {
"type": "string",
"description": "The repository to import the package from"
Expand Down
35 changes: 35 additions & 0 deletions zarf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,41 @@
},
"type": "array",
"description": "List of local values file paths or remote URLs to include in the package; these will be merged together when deployed"
},
"variables": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/ZarfChartVariable"
},
"type": "array",
"description": "[alpha] List of variables to set in the Helm chart"
}
},
"additionalProperties": false,
"type": "object",
"patternProperties": {
"^x-": {}
}
},
"ZarfChartVariable": {
"required": [
"name",
"description",
"path"
],
"properties": {
"name": {
"pattern": "^[A-Z0-9_]+$",
"type": "string",
"description": "The name of the variable"
},
"description": {
"type": "string",
"description": "A brief description of what the variable controls"
},
"path": {
"type": "string",
"description": "The path within the Helm chart values where this variable applies"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit cabdaaa

Please sign in to comment.