Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: revert "feat: remove .metadata.image from schema (#2606)" #2618

Merged
merged 1 commit into from
Jul 22, 2024
Merged
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: 1 addition & 0 deletions src/types/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ 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: 4 additions & 0 deletions zarf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,10 @@
"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
Loading