argo-cd/resource_customizations/postgresql.cnpg.io/Cluster/health_test.yaml
Jonathan Gonzalez V. f4edcf7717
feat: add custom health check for CloudNativePG (#22802)
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
2025-06-13 11:08:27 -04:00

17 lines
515 B
YAML

tests:
- healthStatus:
status: Progressing
message: "Creating primary instance cluster-example-1"
inputPath: testdata/cluster_progressing.yaml
- healthStatus:
status: Healthy
message: ""
inputPath: testdata/cluster_healthy.yaml
- healthStatus:
status: Suspended
message: "Cluster has been hibernated"
inputPath: testdata/cluster_suspended.yaml
- healthStatus:
status: Degraded
message: "Initiating a failover from cluster-example-2"
inputPath: testdata/cluster_degraded.yaml