Skip to content

Commit

Permalink
Add ProgressDeadlineSeconds to Canary CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Nov 27, 2018
1 parent 042d3c1 commit c24b11f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/apis/flagger/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ type CanarySpec struct {

// metrics and thresholds
CanaryAnalysis CanaryAnalysis `json:"canaryAnalysis"`

// the maximum time in seconds for a canary deployment to make progress
// before it is considered to be failed. Defaults to 60s.
ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/flagger/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c24b11f

Please sign in to comment.