Skip to content

Ensure the FBC --> entity translation for bundle properties is not lossy #258

Closed
@everettraven

Description

@everettraven

Currently the translation for catalog contents --> entity is lossy when it comes to bundle properties. As we can see from

for _, prop := range bundle.Spec.Properties {
switch prop.Type {
case property.TypePackage:
// this is already a json marshalled object, so it doesn't need to be marshalled
// like the other ones
props[property.TypePackage] = string(prop.Value)
}
}
we are only passing through bundle properties that are of type olm.package and therefore losing any other bundle property information.

We should update this to ensure that all bundle properties are being forwarded through during the entity translation so they can be used properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions