Files
AllexandGitHub 20a18a2b52 fix: Update custom health check for kiali.io/Kiali (#10995)
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]>
2022-10-19 12:17:00 -04:00

38 lines
943 B
YAML

apiVersion: kiali.io/v1alpha1
kind: Kiali
metadata:
finalizers:
- finalizer.kiali
generation: 1
labels:
argocd.argoproj.io/instance: kiali-default
name: kiali
namespace: kiali
resourceVersion: "344752"
selfLink: /apis/kiali.io/v1alpha1/namespaces/2269-kiali/kialis/kiali
uid: a59d8dac-900b-4e05-9cb7-cf96a0bf4b6b
spec: {}
status:
conditions:
- lastTransitionTime: '2022-10-19T09:44:32Z'
message: ''
reason: ''
status: 'False'
type: Failure
- ansibleResult:
changed: 18
completion: '2022-10-19T09:44:32.289505'
failures: 0
ok: 101
skipped: 101
lastTransitionTime: '2022-10-19T09:43:39Z'
message: Awaiting next reconciliation
reason: Successful
status: 'True'
type: Running
- lastTransitionTime: '2022-10-19T09:44:32Z'
message: Error Reconciling
reason: Failure
status: 'True'
type: Failure