argo-cd/resource_customizations/promoter.argoproj.io/GitRepository/health_test.yaml
Michael Crenshaw daadf868db
feat(health): additional promoter.argoproj.io health checks (#27170)
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2026-04-13 17:09:21 -04:00

29 lines
1,008 B
YAML

tests:
- healthStatus:
status: Progressing
message: Initializing Git repository
inputPath: testdata/no-status.yaml
- healthStatus:
status: Progressing
message: GitRepository is being deleted
inputPath: testdata/deleting.yaml
- healthStatus:
status: Progressing
message: Waiting for GitRepository spec update to be observed
inputPath: testdata/observed-generation-outdated.yaml
- healthStatus:
status: Degraded
message: "Git repository validation failed: Reconciliation failed: repository not found"
inputPath: testdata/reconcile-error.yaml
- healthStatus:
status: Progressing
message: GitRepository Ready condition is missing
inputPath: testdata/no-ready-condition.yaml
- healthStatus:
status: Progressing
message: "Git repository readiness unknown (ValidationPending): Resolving repository metadata"
inputPath: testdata/ready-unknown.yaml
- healthStatus:
status: Healthy
message: Git repository is ready
inputPath: testdata/healthy.yaml