You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
it might be beneficial to differentiate cosign signature wrapped into a manifest from the rest of the images. It is a similar ask to #1437, as result the manifest will be marked of cosign signature type.
Right now we have 2 fields on the maifest model is_bootable and is_flatpak. Does it make sense to consolidate them into a single field type and have bootable, flatpak, cosign signature, artifact, unknown ( for still unidentified types, that we can gradually add in future with incoming requests).
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered:
I am leaning towards the idea of having a single type with different allowed values. We will need to run a migration (that will potentially read config blobs (again)). A new CharField filed (without choices constraints) will be defined on the Manifest table (+type artifact, image, volume, ...).
The only 2 examples i am aware of that would require reading from config blob and look at labels -- is flatpak and bootable containers. We already have performed a migration that would extract this information into is_flatpack and is_bootable fields. So this time you will look at the field directly and not at the parsed config.json file.
For the rest of 'types' we would look at mediaType ( on config/layer) and artifactType which is set on the manifest.json file
Is there going to be defined a mapping between mediaTypes and types? Are we the ones who define that? Or, are we going to introduce a setting for that like we did for allowed artifact types?
From a Pulp user standpoint, having a single type field makes a lot of sense. An image won't be flatpak, bootable, and an artifact at the same time.
In Katello we're looking to also start differentiating if an image is an artifact or not, so we could potentially take this new field and use it directly in our API/UI/etc.
Is your feature request related to a problem? Please describe.
it might be beneficial to differentiate cosign signature wrapped into a manifest from the rest of the images. It is a similar ask to #1437, as result the manifest will be marked of
cosign signature
type.Right now we have 2 fields on the maifest model
is_bootable
andis_flatpak
. Does it make sense to consolidate them into a single fieldtype
and havebootable
,flatpak
,cosign signature
,artifact
,unknown
( for still unidentified types, that we can gradually add in future with incoming requests).Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: