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

Consider bipolarity conditions in Ready condition summarization #907

Merged
merged 3 commits into from
Sep 22, 2022

Commits on Sep 22, 2022

  1. summarize: consider bipolarity in status condition

    This introduces the consideration of bipolarity conditions in the status
    condition summary for Ready condition. The summarize.HelperOptions can
    now be configured with a list of bipolarity conditions which are used in
    SummarizeAndPatch() to set the Ready condition to failing bipolarity
    condition with the highest priority.
    
    Bipolarity condition is not a typical status property. It is a mix of
    positive and negative polarities. It's "normal-true" and
    "abnormal-false". Failing bipolarity conditions are prioritized over
    other conditions to show the actual reason of failure on the Ready
    status.
    
    Signed-off-by: Sunny <darkowlzz@protonmail.com>
    darkowlzz committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    e5d3aa3 View commit details
    Browse the repository at this point in the history
  2. Use bipolarity option in gitrepo and ocirepo

    Use the bipolarity condition options in OCIRepository and GitRepository
    reconcilers.
    
    Signed-off-by: Sunny <darkowlzz@protonmail.com>
    darkowlzz committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    64bd34f View commit details
    Browse the repository at this point in the history
  3. ocirepo: Fix event trace type value

    Signed-off-by: Sunny <darkowlzz@protonmail.com>
    darkowlzz committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    90b7cec View commit details
    Browse the repository at this point in the history