Skip to content

Commit

Permalink
feat: remove .metadata.image from schema (#2606)
Browse files Browse the repository at this point in the history
## Description
This was a field reserved for the, now deprecated, Zarf UI 

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/.github/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
AustinAbro321 committed Jun 11, 2024
1 parent e803d7a commit ed2f876
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/types/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ type ZarfMetadata struct {
Description string `json:"description,omitempty" jsonschema:"description=Additional information about this package"`
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)"`
URL string `json:"url,omitempty" jsonschema:"description=Link to package information when online"`
Image string `json:"image,omitempty" jsonschema:"description=An image URL to embed in this package (Reserved for future use in Zarf UI)"`
Uncompressed bool `json:"uncompressed,omitempty" jsonschema:"description=Disable compression of this package"`
Architecture string `json:"architecture,omitempty" jsonschema:"description=The target cluster architecture for this package,example=arm64,example=amd64"`
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."`
Expand Down
4 changes: 0 additions & 4 deletions zarf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1018,10 +1018,6 @@
"type": "string",
"description": "Link to package information when online"
},
"image": {
"type": "string",
"description": "An image URL to embed in this package (Reserved for future use in Zarf UI)"
},
"uncompressed": {
"type": "boolean",
"description": "Disable compression of this package"
Expand Down

0 comments on commit ed2f876

Please sign in to comment.