spec: document GitRepositorySpec Timeout field

This commit is contained in:
Hidde Beydals 2020-04-24 11:59:34 +02:00
parent c6e2a57212
commit 13a0f1232a
1 changed files with 5 additions and 0 deletions

View File

@ -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