github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/policy.open-cluster-management.io/ConfigurationPolicy/health_test.yaml (about)

     1  tests:
     2    - healthStatus:
     3        status: Progressing
     4        message: Waiting for the status to be reported
     5      inputPath: testdata/progressing_no_status.yaml
     6    - healthStatus:
     7        status: Degraded
     8        message: >-
     9          violation - namespaces [argo-example] not found; violation - namespaces
    10          [argo-example-2] not found
    11      inputPath: testdata/degraded.yaml
    12    - healthStatus:
    13        status: Progressing
    14        message: Waiting for the status to be updated
    15      inputPath: testdata/progressing.yaml
    16    - healthStatus:
    17        status: Healthy
    18        message: >-
    19          notification - namespaces [argo-example] was created successfully;
    20          notification - namespaces [argo-example-2] was created successfully
    21      inputPath: testdata/healthy_created.yaml
    22    - healthStatus:
    23        status: Healthy
    24        message: >-
    25          notification - namespaces [argo-example] found as specified;
    26          notification - namespaces [argo-example-2] found as specified
    27      inputPath: testdata/healthy_found.yaml