Argo Workflows · Schema
io.argoproj.workflow.v1alpha1.Parameter
Parameter indicate a passed string parameter to a service template with an optional default value
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine
Properties
| Name | Type | Description |
|---|---|---|
| default | string | Default is the default value to use for an input parameter if a value was not supplied |
| description | string | Description is the parameter description |
| enum | array | Enum holds a list of string values to choose from, for the actual value of the parameter |
| globalName | string | GlobalName exports an output parameter to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters |
| name | string | Name is the parameter name |
| value | string | Value is the literal value to use for the parameter. If specified in the context of an input parameter, any passed values take precedence over the specified value |
| valueFrom | object | ValueFrom is the source for the output parameter's value |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-io-argoproj-workflow-v1alpha1-parameter-schema.json",
"title": "io.argoproj.workflow.v1alpha1.Parameter",
"description": "Parameter indicate a passed string parameter to a service template with an optional default value",
"type": "object",
"properties": {
"default": {
"description": "Default is the default value to use for an input parameter if a value was not supplied",
"type": "string"
},
"description": {
"description": "Description is the parameter description",
"type": "string"
},
"enum": {
"description": "Enum holds a list of string values to choose from, for the actual value of the parameter",
"type": "array",
"items": {
"type": "string"
}
},
"globalName": {
"description": "GlobalName exports an output parameter to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters",
"type": "string"
},
"name": {
"description": "Name is the parameter name",
"type": "string"
},
"value": {
"description": "Value is the literal value to use for the parameter. If specified in the context of an input parameter, any passed values take precedence over the specified value",
"type": "string"
},
"valueFrom": {
"description": "ValueFrom is the source for the output parameter's value",
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ValueFrom"
}
},
"required": [
"name"
]
}