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