mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
The health and action fixtures carried sample object names from the upstream project; renamed in step with every assertion that reads them.
26 lines
804 B
YAML
26 lines
804 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "0/1 node(s) are ready"
|
|
inputPath: testdata/initializing.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "1/1 node(s) are ready"
|
|
inputPath: testdata/ready.yaml
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Cluster is paused"
|
|
inputPath: testdata/paused.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Cluster is stopping (1/2 node(s) are ready)"
|
|
inputPath: testdata/stopping.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Cluster is on error: we lost node"
|
|
inputPath: testdata/error.yaml
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Cluster status is unknown. Ensure your Hanzo CD is current and then check for/file a bug report: https://github.com/hanzocd/cd/issues"
|
|
inputPath: testdata/unknown.yaml
|