Skip to content

Bundle dependencies: use specific state in dependent bundle if dependency not in accepted state #4797

@weyfonk

Description

@weyfonk

Work on #2552 has resulted in users being able to specify a set of accepted states for a dependency bundle, allowing dependent bundles to move forward based on those states (docs acceptedStates and dependsOn).

However, when a bundle is not in one of its dependent bundle's accepted states, the dependent bundle still bears state ErrApplied.
We should change this, using a different state to clarify that this is its own type of error, and that it may well be temporary.
Possible names for this new state: WaitingForDependency, DependencyInUnsupportedState (perhaps a bit too long)...

Relates to rancher/dashboard#13121 for UI work.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions