argo-cd/resource_customizations/promoter.argoproj.io/WebRequestCommitStatus/testdata/no-ready-condition.yaml

27 lines
530 B
YAML
Raw Normal View History

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: Example
status: "True"
reason: Example
message: ok
observedGeneration: 1