From ed2f876dc0ff2fed647b64d62f5a0843d41eed75 Mon Sep 17 00:00:00 2001 From: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> Date: Tue, 11 Jun 2024 10:35:01 -0400 Subject: [PATCH] feat: remove .metadata.image from schema (#2606) ## 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 --- src/types/package.go | 1 - zarf.schema.json | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/types/package.go b/src/types/package.go index 99ac9ef008..5b7e734f3c 100644 --- a/src/types/package.go +++ b/src/types/package.go @@ -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."` diff --git a/zarf.schema.json b/zarf.schema.json index 0f43c9dbe5..c26bc550ff 100644 --- a/zarf.schema.json +++ b/zarf.schema.json @@ -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"