argo-cd/resource_customizations/operator.knative.dev/KnativeEventing/health_test.yaml
Trevor Royer b4507d800d
fix: knative health reporting #6130 (#6131)
* add ready = false health check

add additional tests

Signed-off-by: Trevor Royer <troyer@redhat.com>

* Fix health checks for knative resources

Signed-off-by: Trevor Royer <troyer@redhat.com>

* fix tests

Signed-off-by: Trevor Royer <troyer@redhat.com>
2021-05-01 13:09:42 +02:00

17 lines
559 B
YAML

tests:
- healthStatus:
status: Progressing
message: "1: InstallSucceeded | True\n2: Ready | Unknown\n"
inputPath: testdata/progressing.yaml
- healthStatus:
status: Progressing
message: "1: InstallSucceeded | True\n2: Ready | False\n"
inputPath: testdata/progressing_ready_false.yaml
- healthStatus:
status: Degraded
message: "1: InstallSucceeded | True\n2: Ready | randomstatus\n"
inputPath: testdata/degraded.yaml
- healthStatus:
status: Healthy
message: "KnativeEventing is healthy."
inputPath: testdata/healthy.yaml