mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* test: add broken unit test data Signed-off-by: Jingchao <[email protected]> * fix: npe error in kruise ds health-check Signed-off-by: Jingchao <[email protected]> --------- Signed-off-by: Jingchao <[email protected]>
26 lines
813 B
YAML
26 lines
813 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "All Daemonset workloads are ready and updated"
|
|
inputPath: testdata/healthy.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Some pods are not ready or available"
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for initialization"
|
|
inputPath: testdata/unknown.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for initialization"
|
|
inputPath: testdata/no-update-strategy-partition.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: "Daemonset is paused"
|
|
inputPath: testdata/suspended.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: "Daemonset needs manual intervention"
|
|
inputPath: testdata/partition_suspended.yaml
|