argo-cd/resource_customizations/promoter.argoproj.io/WebRequestCommitStatus/testdata/reconcile-error.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

26 lines
584 B
YAML

apiVersion: promoter.argoproj.io/v1alpha1
kind: WebRequestCommitStatus
metadata:
name: external-check
namespace: gitops-promoter
generation: 1
spec:
promotionStrategyRef:
name: demo
key: ext-approval
httpRequest:
urlTemplate: "https://example.com/health"
method: GET
success:
when:
expression: "Response.StatusCode == 200"
mode:
polling:
interval: 1m
status:
conditions:
- type: Ready
status: "False"
reason: ReconciliationError
message: "Reconciliation failed: invalid URL template"
observedGeneration: 1