diff --git a/artifacts/canaries/canary.yaml b/artifacts/canaries/canary.yaml index 68a15a58..a8fa3d0f 100644 --- a/artifacts/canaries/canary.yaml +++ b/artifacts/canaries/canary.yaml @@ -9,6 +9,9 @@ spec: apiVersion: apps/v1 kind: Deployment name: podinfo + # the maximum time in seconds for the canary deployment + # to make progress before it is rollback (default 60s) + progressDeadlineSeconds: 60 # HPA reference (optional) autoscalerRef: apiVersion: autoscaling/v2beta1 diff --git a/artifacts/flagger/crd.yaml b/artifacts/flagger/crd.yaml index 705f337e..9b7da8d1 100644 --- a/artifacts/flagger/crd.yaml +++ b/artifacts/flagger/crd.yaml @@ -23,6 +23,8 @@ spec: - service - canaryAnalysis properties: + progressDeadlineSeconds: + type: number targetRef: properties: apiVersion: diff --git a/charts/flagger/templates/crd.yaml b/charts/flagger/templates/crd.yaml index 818cc5f1..58164a92 100644 --- a/charts/flagger/templates/crd.yaml +++ b/charts/flagger/templates/crd.yaml @@ -26,6 +26,8 @@ spec: - service - canaryAnalysis properties: + progressDeadlineSeconds: + type: number targetRef: properties: apiVersion: