Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Devfile property overrides format

HI all,
You might be seen the issue which proposes to make it possible
to override some values in devfile using factory URL.

Proposed parameters format is like follows:
https://che.openshift.io/f?url="">
So it's supposed that all query parameters except the devfile link should be treated as an overrides, which may cause problems in cases where some additional factory params is used, e.g. on Dashboard or ConsoleLink (since they may add ancillary params like workspace creation policy etc)

To avoid that,our proposal is to separate override properties somehow,
for example, by adding a keyword in front of query parameters that will indicate it is an override:
devfile.metadata.name=website-work-on-technology-section
or
override.metadata.name=website-work-on-technology-section
and we will be glad to hear any opinions on that design.

Also, we're going to limit the scope of the overrides only to a metadata and projects objects at first stage, to avoid logic to be overcomplicated.


Regards, Max.
--
Max Shaposhnyk,

senior software engineer

Red Hat

Back to the top