Files
Trevor RoyerandGitHub ae288be120 fix: knative health reporting #6130 (#6131)
* add ready = false health check

add additional tests

Signed-off-by: Trevor Royer <[email protected]>

* Fix health checks for knative resources

Signed-off-by: Trevor Royer <[email protected]>

* fix tests

Signed-off-by: Trevor Royer <[email protected]>
2021-05-01 13:09:42 +02:00

18 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