Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored
template
string
Template is the name of the template to execute by the hook
templateRef
object
TemplateRef is the reference to the template resource to execute by the hook
{
"$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-lifecycle-hook-schema.json",
"title": "io.argoproj.workflow.v1alpha1.LifecycleHook",
"description": "io.argoproj.workflow.v1alpha1.LifecycleHook schema from Argo Workflows API",
"type": "object",
"properties": {
"arguments": {
"description": "Arguments hold arguments to the template",
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments"
},
"expression": {
"description": "Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored",
"type": "string"
},
"template": {
"description": "Template is the name of the template to execute by the hook",
"type": "string"
},
"templateRef": {
"description": "TemplateRef is the reference to the template resource to execute by the hook",
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef"
}
}
}