mirror of
https://github.com/hanzoai/deploy.git
synced 2026-11-02 23:02:25 +00:00
With Kiali v1.57.1 an additional status condition was added:
```
- lastTransitionTime: '2022-10-14T11:56:24Z'
message: ''
reason: ''
status: 'False'
type: Failure
```
Based on the discussion in https://github.com/kiali/kiali/issues/5560 this should not lead to a degraded health state.
This will no longer return Degraded as a catch-all and use the `type` and `status` fields of the condition to determine the CR health.
Signed-off-by: Allex Veldman <[email protected]>
Signed-off-by: Allex Veldman <[email protected]>
14 lines
335 B
YAML
14 lines
335 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Reconciling"
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Error Reconciling"
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "Last reconciliation succeeded"
|
|
inputPath: testdata/healthy.yaml
|