'Argo workflowtemplate timeout

Tried Argo Workflow template with both timeout and activeDeadlineSeconds and this template also has retryStrategy. In both case, timeout are applied for each run but I want entire template should timeout within mentioned time. How to achieve this? Please comment in case the question is not clear.

kind: WorkflowTemplate
.
.
spec:
  templates:
    -name: taskA
     activeDeadlineSeconds :30
     retryStrategy:
       limit: 2
     .....

In this, all retry in case of timeout runs for 30sec each. But I wanted the entire workflowTemplate to timeout after 30 sec. Not 90sec. Is there any reference for this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source