Skip to content

Commit 0fa6984

Browse files
authored
Merge pull request #40 from fluxcd/spec/gitrepository-timeout
2 parents c6e2a57 + 13a0f12 commit 0fa6984

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)