mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-30 14:56:59 +00:00
Signed-off-by: Dale Haiducek <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: 'NonCompliant clusters: local-cluster, managed'
|
|
inputPath: testdata/degraded_root.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: 'NonCompliant templates: example-namespace'
|
|
inputPath: testdata/degraded_replicated.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: All clusters are compliant
|
|
inputPath: testdata/healthy_root.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: All templates are compliant
|
|
inputPath: testdata/healthy_replicated.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: Policy is disabled
|
|
inputPath: testdata/disabled_root.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for the status to be reported
|
|
inputPath: testdata/progressing_no_status.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for the status to be reported
|
|
inputPath: testdata/progressing_nil_status.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: No clusters match this policy
|
|
inputPath: testdata/healthy_with_placement_empty_compliant.yaml |