Skip to content

Commit 13a0f12

Browse files
committed
spec: document GitRepositorySpec Timeout field
1 parent c6e2a57 commit 13a0f12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/spec/v1alpha1/gitrepositories.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ type GitRepositorySpec struct {
2727
// The interval at which to check for repository updates.
2828
Interval metav1.Duration `json:"interval"`
2929

30+
// The timeout for remote git operations like cloning.
31+
// +kubebuilder:validation:Default=20s
32+
// +optional
33+
Timeout *metav1.Duration `json:"timeout,omitempty"`
34+
3035
// The git reference to checkout and monitor for changes, defaults to
3136
// master branch.
3237
// +optional

0 commit comments

Comments
 (0)