Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.
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
4 changes: 2 additions & 2 deletions api/core/v1alpha1/bundlemetadata_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ type BundleMetadataSpec struct {
Image string `json:"image"`

// Properties is a string of references to property objects that are part of the bundle
Properties []Property `json:"properties"`
Properties []Property `json:"properties,omitempty"`

// RelatedImages are the RelatedImages in the bundle
RelatedImages []RelatedImage `json:"relatedImages"`
RelatedImages []RelatedImage `json:"relatedImages,omitempty"`
}

type Property struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ spec:
- catalog
- image
- package
- properties
- relatedImages
type: object
status:
description: BundleMetadataStatus defines the observed state of BundleMetadata
Expand Down
6 changes: 0 additions & 6 deletions test/e2e/unpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ var _ = Describe("Catalog Unpacking", func() {
Value: json.RawMessage(`{"packageName":"prometheus","version":"0.47.0"}`),
},
},
RelatedImages: []catalogd.RelatedImage{
{
Name: "",
Image: "",
},
},
}
err = c.Get(ctx, types.NamespacedName{Name: fmt.Sprintf("%s-%s", catalog.Name, bundle)}, bm)
Expect(err).ToNot(HaveOccurred())
Expand Down
3 changes: 0 additions & 3 deletions testdata/catalogs/test-catalog/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ schema: olm.bundle
name: prometheus-operator.0.47.0
package: prometheus
image: localhost/testdata/bundles/registry-v1/prometheus-operator:v0.47.0
relatedImages:
- name: ""
image: ""
properties:
- type: olm.package
value:
Expand Down