source-controller/internal/reconcile/summarize
Sunny e5d3aa3701 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>
2022-09-22 15:42:53 +05:30
..
matchers_test.go Make generic SummarizeAndPatch() 2022-02-23 12:35:30 +01:00
processor.go Introduce ErrorActionHandler ResultProcessor 2022-05-20 19:52:18 +05:30
processor_test.go Make generic SummarizeAndPatch() 2022-02-23 12:35:30 +01:00
summary.go summarize: consider bipolarity in status condition 2022-09-22 15:42:53 +05:30
summary_test.go summarize: consider bipolarity in status condition 2022-09-22 15:42:53 +05:30