kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.18k stars 103 forks source link

Conditional branching #692

Open mattj-io opened 5 years ago

mattj-io commented 5 years ago

What would you like to be added:

Several people at Meetups have asked about if then else branching within plans. Plans currently handle if then at the task level based on success of the previous task but I'm not sure how/if we handle else.

Why is this needed:

Within a plan you may want to have a task run on failure of a previous task. This could probably be achieved by adding an OnFailure attribute to a task, which would be another task.

gerred commented 5 years ago

/priority normal

gerred commented 5 years ago

This needs a KEP and perhaps some more specific examples.

gerred commented 4 years ago

This will be fixed with Tasker work going on.