Description of problem: Currently, the example URLs of cloud images and container disks are hard coded in UI code. It would be better if these URLs would be extracted from the templates. Version-Release number of selected component (if applicable): 4.10 Steps to Reproduce: 1. Install updated common-templates which support a new fedora version Actual results: Old URL of example container disk and cloud image will be shown in UI. Expected results: New URL of example container disk and cloud image will be shown in UI. Additional info:
Hi Dominik If you help me clarify something that would be very helpful Is the URL you are referring to is this [1]? if so, I could only see a URL for fedora, Is a similar URL will enter into all template descriptions or this is relevant for fedora only? [1] https://github.com/kubevirt/common-templates/blob/master/templates/fedora.tpl.yaml#L11
(In reply to aviv turgeman from comment #1) > Hi Dominik > > If you help me clarify something that would be very helpful > Is the URL you are referring to is this [1]? if so, I could only see a URL > for fedora, > Is a similar URL will enter into all template descriptions or this is > relevant for fedora only? > > [1] > https://github.com/kubevirt/common-templates/blob/master/templates/fedora. > tpl.yaml#L11 Hi Aviv, no, the idea is to have a machine-readable solution, e.g. during generating the templates, a new annotation could be introduced which holds the URLs to the cloud images and container disks. If libosinfo does not provide the URLs, they have to be hard coded.
Removing target milestone as this bug depends on bug 2031857 which will be fixed in 4.11
closing will be tracked via JIRA https://issues.redhat.com/browse/CNV-15583