Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the condition transition rules #129

Merged
merged 1 commit into from
Apr 10, 2024

Commits on Apr 10, 2024

  1. Simplify the condition transition rules

    When the cluster is initializing, either a quorum has not yet been
    established, so if the sts isn't ready, we don't change the reason
    for etcd not ready, or the cluster has initialized, so we set the
    status based on the sts state. This reduces the amount of nesting
    and repeated code in the condition/reason checks.
    lllamnyp committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    53bb673 View commit details
    Browse the repository at this point in the history