简体   繁体   中英

Argo WorkflowTemplate free form input parameters

Picked up as a reference: https://github.com/argoproj/argo/blob/master/examples/workflow-template/templates.yaml#L11

Is it possible to pass input parameters as key-value pair collection in WorkflowTemplate ? The reason I am asking is that it seems like every time we need to introduce a field, we have to change the template and define name of the field in there. So looking for a free form support in Argo WorkflowTemplate input parameters. Thank you.

Argo Workflows (and WorkflowTemplates) do not currently support dictionary-like input parameters .

There are work-arounds. For example, you could pass your inputs as a JSON-encoded string. Or (if the inputs are particularly large), you could pass an artifact.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM