spec: document GitRepositorySpec Timeout field
This commit is contained in:
parent
c6e2a57212
commit
13a0f1232a
|
|
@ -27,6 +27,11 @@ type GitRepositorySpec struct {
|
||||||
// The interval at which to check for repository updates.
|
// The interval at which to check for repository updates.
|
||||||
Interval metav1.Duration `json:"interval"`
|
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
|
// The git reference to checkout and monitor for changes, defaults to
|
||||||
// master branch.
|
// master branch.
|
||||||
// +optional
|
// +optional
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue