argo-cd/resource_customizations/flagger.app/Canary/testdata/degraded.yaml
gambuzzi 2a7aabe5a5
feat: add flagger.app/Canary health check lua script and tests (#3902)
* add flagger.app/Canary health check lua script and tests

* add flagger.app/Canary health check lua script and tests, fix type

* add handle for flagger Initialized phase

* add handle for flagger Initialized phase and test
2020-07-13 13:14:22 -07:00

29 lines
743 B
YAML

apiVersion: flagger.app/v1beta1
kind: Canary
metadata:
generation: 1
labels:
app.kubernetes.io/instance: podinfo
name: podinfo
namespace: default
resourceVersion: "2268395"
selfLink: /apis/flagger.app/v1beta1/namespaces/default/canaries/podinfo
uid: 82df0136-0248-4a95-9c60-3184792614ea
spec: {}
status:
canaryWeight: 0
conditions:
- lastTransitionTime: "2020-07-03T19:13:47Z"
lastUpdateTime: "2020-07-03T19:13:47Z"
message: Canary analysis failed, Deployment scaled to zero.
reason: Failed
status: "False"
type: Promoted
failedChecks: 0
iterations: 0
lastAppliedSpec: 765c47b8f7
lastPromotedSpec: fc74df5fc
lastTransitionTime: "2020-07-03T19:13:47Z"
phase: Failed
trackedConfigs: {}