Files
0d85da21f4 feat(health): add healthchecks for Gloo resources (#11379)
* feat(custom healthchecks): add healthchecks for Gloo resources

Signed-off-by: Ilya Gorban <[email protected]>

* fix(gloo custom healthchecks): fix healthcheck and add older cases

Signed-off-by: Ilya Gorban <[email protected]>

* feat(custom healthchecks): fix tabulation in Gloo resources lua files

Signed-off-by: Ilya Gorban <[email protected]>

---------

Signed-off-by: Ilya Gorban <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2024-09-18 19:01:33 +00:00

38 lines
1.3 KiB
YAML

tests:
- healthStatus:
status: Degraded
message: "message that will describe all the reasons for warning"
inputPath: testdata/gloo-warning.yaml
- healthStatus:
status: Suspended
message: "The resource has not yet been validated"
inputPath: testdata/gloo-pending.yaml
- healthStatus:
status: Healthy
message: "The resource has been validated"
inputPath: testdata/gloo-accepted.yaml
- healthStatus:
status: Degraded
message: "message that will describe all the reasons for rejection"
inputPath: testdata/gloo-rejected.yaml
- healthStatus:
status: Degraded
message: "message that will describe all the reasons for warning"
inputPath: testdata/non-namespaced-gloo-warning.yaml
- healthStatus:
status: Suspended
message: "The resource has not yet been validated"
inputPath: testdata/non-namespaced-gloo-pending.yaml
- healthStatus:
status: Healthy
message: "The resource has been validated"
inputPath: testdata/non-namespaced-gloo-accepted.yaml
- healthStatus:
status: Degraded
message: "message that will describe all the reasons for rejection"
inputPath: testdata/non-namespaced-gloo-rejected.yaml
- healthStatus:
status: Progressing
message: "Update in progress"
inputPath: testdata/gloo-no-status.yaml