github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/postgresql.cnpg.io/Cluster/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Progressing
     4      message: "Creating primary instance cluster-example-1"
     5    inputPath: testdata/cluster_progressing.yaml
     6  - healthStatus:
     7      status: Healthy
     8      message: ""
     9    inputPath: testdata/cluster_healthy.yaml
    10  - healthStatus:
    11      status: Suspended
    12      message: "Cluster has been hibernated"
    13    inputPath: testdata/cluster_suspended.yaml
    14  - healthStatus:
    15      status: Degraded
    16      message: "Initiating a failover from cluster-example-2"
    17    inputPath: testdata/cluster_degraded.yaml