Skip to content

Commit 0d3d0c3

Browse files
feat: revert "feat: remove .metadata.image from schema (#2606)" (#2618)
1 parent 1c3e426 commit 0d3d0c3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/types/package.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type ZarfMetadata struct {
4747
Description string `json:"description,omitempty" jsonschema:"description=Additional information about this package"`
4848
Version string `json:"version,omitempty" jsonschema:"description=Generic string set by a package author to track the package version (Note: ZarfInitConfigs will always be versioned to the CLIVersion they were created with)"`
4949
URL string `json:"url,omitempty" jsonschema:"description=Link to package information when online"`
50+
Image string `json:"image,omitempty" jsonschema:"description=An image URL to embed in this package (Reserved for future use in Zarf UI)"`
5051
Uncompressed bool `json:"uncompressed,omitempty" jsonschema:"description=Disable compression of this package"`
5152
Architecture string `json:"architecture,omitempty" jsonschema:"description=The target cluster architecture for this package,example=arm64,example=amd64"`
5253
YOLO bool `json:"yolo,omitempty" jsonschema:"description=Yaml OnLy Online (YOLO): True enables deploying a Zarf package without first running zarf init against the cluster. This is ideal for connected environments where you want to use existing VCS and container registries."`

zarf.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,10 @@
10231023
"type": "string",
10241024
"description": "Link to package information when online"
10251025
},
1026+
"image": {
1027+
"type": "string",
1028+
"description": "An image URL to embed in this package (Reserved for future use in Zarf UI)"
1029+
},
10261030
"uncompressed": {
10271031
"type": "boolean",
10281032
"description": "Disable compression of this package"

0 commit comments

Comments
 (0)