source-controller/controllers
Hidde Beydals 920d37fcda api: add timeout field to GitRepositorySpec
This commit adds a timeout field to the GitRepositorySpec to be used
during the git clone operation when reconciling the resource.
When no interval is defined the default timeout returned by the getter
is 20 seconds.

The timeout can not be added yet to the Helm related sources as it
is currently not possible to inject anything custom into the HTTP
client from the Helm HTTP getter except for the authentication
options built in. A submit has been submitted to make this possible
and is waiting for review.

This commit includes some context changes to the other reconcilers
to tidy them up and make them depend on a single background context.

It also includes some added docblocks that crossed my path.
2020-04-22 11:42:27 +02:00
..
testdata controllers: test HelmRepository TLS auth 2020-04-17 10:41:24 +02:00
gitrepository_controller.go api: add timeout field to GitRepositorySpec 2020-04-22 11:42:27 +02:00
helmchart_controller.go api: add timeout field to GitRepositorySpec 2020-04-22 11:42:27 +02:00
helmchart_controller_test.go controllers: test HelmChart missing HelmRepository 2020-04-17 20:39:33 +02:00
helmrepository_controller.go api: add timeout field to GitRepositorySpec 2020-04-22 11:42:27 +02:00
helmrepository_controller_test.go controllers: slightly restructure HelmRepository tests 2020-04-17 19:21:55 +02:00
predicate.go Move artifact gc to delete event predicate 2020-04-13 01:35:44 +02:00
storage.go Change artifact path format 2020-04-13 19:52:30 +03:00
suite_test.go controllers: add HelmChart reconciler tests 2020-04-17 19:21:48 +02:00