argo-cd/resource_customizations/work.karmada.io/ClusterResourceBinding/health_test.yaml
Chauncey f73e7014ce
feat: Implement karmada CRD health checks (#11192)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-18 21:01:23 -05:00

31 lines
1 KiB
YAML

tests:
- healthStatus:
status: Progressing
message: "Current resource status is insufficient"
inputPath: testdata/progressing.yaml
- healthStatus:
status: Progressing
message: "Current resource status is insufficient"
inputPath: testdata/progressing_aggregatedStatus.yaml
- healthStatus:
status: Progressing
message: "Current resource status is insufficient"
inputPath: testdata/progressing_cluster.yaml
- healthStatus:
status: Degraded
message: "Current resource status is unhealthy"
inputPath: testdata/degraded_unapplied.yaml
- healthStatus:
status: Degraded
message: "Current resource status is unhealthy"
inputPath: testdata/degraded_unknown.yaml
- healthStatus:
status: Degraded
message: "Current resource status is unhealthy"
inputPath: testdata/degraded_unhealth.yaml
- healthStatus:
status: Healthy
inputPath: testdata/health.yaml
- healthStatus:
status: Healthy
inputPath: testdata/health_unknown.yaml