-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to the application description format for how parameters/properties are defined #6
Comments
Original post from @Haishi2016
We'll be discussing that part of the proposal more next week (it will be a different PR). The difference is what is under the configuration section is information for the WOS to be able to provide a UI enabling a customer to provide any required/optional inputs. I'm aware of some use cases where the values for these parameters would be provided from places and not shown in the UI. The idea is to make the parameters section more extensible in the future and not to tie all parameters to needing a UI element (configuration). |
Original post from @Haishi2016
Correct. What I have above are just some examples. If Margo decides to adopt the idea of allowing parameter values to come from other sources (e.g., the device) we'll need to define the expected format and what these keys/IDs are. This may not be something we want to adopt for V1 but I do have some use cases for it.
This is just a format we were using internally since it was based on a specification. I think it could be parsed and used in other places besides helm charts but there might be a better way of doing it. @Haishi2016 Can you give an example of what you're talking about? I'm not sure if I follow exactly what you mean. |
@Haishi2016 in your other post you raised a question about the use of
I don't have a problem with moving the |
This is a proposal for updates to how parameters/properties are defined in the application description document. The goal is to make this more flexible for future cases where some property values are coming via inputs from the customer but other property values are coming from other sources (e.g. the device) and not the customer.
properties
instead ofparameters
targets
pointer
instead ofkey
components
instead ofappliesTo
prefix
and/orsuffix
to append to the value provided for the parameter.properties
from theconfiguration
sectionsections
andschema
are pretty much the same just under aconfiguration
section instead of combined with theproperties
Simple Hello World Example
Complex Example
The text was updated successfully, but these errors were encountered: