Files
ViviandGitHub a1f76094cb feat: add MariaDB CRD health checks (#13143)
* feat: add MariaDB CRD health checks

Signed-off-by: Thomas Sirvent <[email protected]>

* feat: set Degraded health on MariaDB CRD error

Signed-off-by: Thomas Sirvent <[email protected]>

* style: add missing newline

Signed-off-by: Thomas Sirvent <[email protected]>

---------

Signed-off-by: Thomas Sirvent <[email protected]>
2023-05-04 18:03:40 -04:00

26 lines
683 B
YAML

tests:
- healthStatus:
status: Progressing
message: "No status info available"
inputPath: testdata/no_status.yaml
- healthStatus:
status: Healthy
message: "Running"
inputPath: testdata/statefulset_ready.yaml
- healthStatus:
status: Progressing
message: "Not ready"
inputPath: testdata/statefulset_not_ready.yaml
- healthStatus:
status: Healthy
message: "Running"
inputPath: testdata/restore_complete.yaml
- healthStatus:
status: Progressing
message: "Restoring backup"
inputPath: testdata/restore_not_complete.yaml
- healthStatus:
status: Degraded
message: "Error creating ConfigMap"
inputPath: testdata/mariadb_error.yaml