diff --git a/plugin/impl/condition.go b/plugin/impl/condition.go index cfb9ad6..9557b39 100644 --- a/plugin/impl/condition.go +++ b/plugin/impl/condition.go @@ -54,7 +54,8 @@ func (c *Condition) ID() string { func (c *Condition) Check(params plugin.Parameters) (plugin.CheckResult, error) { for _, condition := range params.Node.Status.Conditions { if condition.Type == v1.NodeConditionType(c.Type) { - return plugin.CheckResult{Passed: condition.Status == v1.ConditionStatus(c.Status)}, nil + info := map[string]any{"current": condition.Status, "expected": c.Status} + return plugin.CheckResult{Passed: condition.Status == v1.ConditionStatus(c.Status), Info: info}, nil } } return plugin.FailedWithReason(fmt.Sprintf("condition %s not present", c.Type)), nil diff --git a/static/index.html b/static/index.html index ac2ba49..0466d43 100644 --- a/static/index.html +++ b/static/index.html @@ -127,7 +127,7 @@

Advancing is likely blocked by an other profile being in-maintenance.
- +
@@ -138,7 +138,7 @@

Instance