Skip to content

Commit

Permalink
spec: document GitRepositorySpec Timeout field
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco committed Apr 24, 2020
1 parent c6e2a57 commit 13a0f12
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 13a0f12

Please sign in to comment.