mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
28 lines
584 B
YAML
28 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: "True"
|
||
|
|
reason: ReconciliationSuccess
|
||
|
|
message: Reconciliation successful
|
||
|
|
observedGeneration: 1
|
||
|
|
environments: []
|