keikoproj/active-monitor

Update Default TTL Strategy to secondsAfterCompletion

RaviHari opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Argoworkflow 3.x doesnot support ttlSecondsAfterFinished anymore.
It needs to be replaced with ttlStrategy: secondsAfterCompletion

Describe the solution you'd like
Update the default ttlstrategy here:

if ttlSecondAfterFinished := data["spec"].(map[string]interface{})["ttlSecondsAfterFinished"]; ttlSecondAfterFinished == nil {

If you want to get involved, check out the
contributing guide, then reach out to us on Slack so we can see how to get you started.