Skip to content

Commit

Permalink
Merge pull request fluxcd#40 from fluxcd/spec/gitrepository-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco authored Apr 24, 2020
2 parents c6e2a57 + 13a0f12 commit 0fa6984
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/spec/v1alpha1/gitrepositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ type GitRepositorySpec struct {
// The interval at which to check for repository updates.
Interval metav1.Duration `json:"interval"`

// The timeout for remote git operations like cloning.
// +kubebuilder:validation:Default=20s
// +optional
Timeout *metav1.Duration `json:"timeout,omitempty"`

// The git reference to checkout and monitor for changes, defaults to
// master branch.
// +optional
Expand Down

0 comments on commit 0fa6984

Please sign in to comment.