Skip to content

DependentResource and Workflow Design Details Questions #1263

Closed

Description

@csviri

This issue is a summary some design questions related to dependent resources and workflows.

  • Currently if a dependent resource is ready (ReadyCondition) in workflows (so is in a target state) or if is delete process successfully finished (DeletePostCondition) - this can be async - is handled by Conditions. However it might be more convenient especially using it from standalone mode to put this information to ReconcileResult and also provide DeleteResult where the result of those predicates could be added. Also might be a better / more efficient place to check it in the reconcile.
  • Should we make in all condition names explicit if it is a post or precondition. Ready is a post, Reconcile is a pre-condition. The delete condition already has post in its name. See original design:
    Depends On and Conditions to describe workflows Dependent Resources #850 (only applies to reconcile condition if we decide to change the point above)

Activity

  1. self-assigned this
    on Jun 2, 2022
  2. added this to the 3.1 milestone on Jun 2, 2022
  3. changed the title [-]Some DependentResource and Workflow Design Details[/-] [+]DependentResource and Workflow Design Details Questions[/+] on Jun 2, 2022
  4. csviri commented on Jun 6, 2022

    @csviri
    CollaboratorAuthor

    Made the condition names more explicit (pre and post condition) in the following PR:
    #1257

  5. csviri commented on Jun 6, 2022

    @csviri
    CollaboratorAuthor

    After giving more thoughts and implementing samples (Integration tests). Having the postconditions explicit makes more sense. It is good for reusability, also for decoupling the condition related logic. For now I would say we could keep it separated and maybe change if we have some related feedback.

  6. csviri commented on Jun 6, 2022

    @csviri
    CollaboratorAuthor

    Will close this issue for now, and reopen in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions